95 references to BamlNodeType
PresentationFramework (95)
MS\Internal\Globalization\BamlResourceDeserializer.cs (19)
51if (_reader.NodeType != BamlNodeType.StartDocument) 68case BamlNodeType.StartElement: 79case BamlNodeType.EndElement: 86case BamlNodeType.StartComplexProperty: 99case BamlNodeType.EndComplexProperty: 106case BamlNodeType.Event: 112case BamlNodeType.RoutedEvent: 123case BamlNodeType.PIMapping: 133case BamlNodeType.LiteralContent: 139case BamlNodeType.Text: 150case BamlNodeType.StartConstructor: 156case BamlNodeType.EndConstructor: 162case BamlNodeType.EndDocument: 189case BamlNodeType.ConnectionId: 195case BamlNodeType.Property: 240case BamlNodeType.DefAttribute: 255case BamlNodeType.XmlnsProperty: 264case BamlNodeType.ContentProperty: 275case BamlNodeType.PresentationOptionsAttribute:
MS\Internal\Globalization\BamlTreeMap.cs (10)
117if (currentNode.NodeType == BamlNodeType.StartElement) 129if (currentNode.NodeType == BamlNodeType.StartElement) 147if (child.NodeType != BamlNodeType.StartElement) 159&& currentNode.NodeType == BamlNodeType.StartElement 161&& currentNode.Parent.NodeType == BamlNodeType.StartDocument) 197case BamlNodeType.StartElement: 211case BamlNodeType.Property: 241case BamlNodeType.LiteralContent: 560Debug.Assert(node.NodeType == BamlNodeType.StartElement); 608if (child.NodeType == BamlNodeType.Property)
MS\Internal\Globalization\BamlTreeNode.cs (23)
176internal BamlTreeNode(BamlNodeType type) 218internal BamlNodeType NodeType 335protected BamlNodeType _nodeType; // node type 375internal BamlStartDocumentNode() : base(BamlNodeType.StartDocument) { } 419internal BamlEndDocumentNode() : base(BamlNodeType.EndDocument) { } 436internal BamlConnectionIdNode(Int32 connectionId) : base(BamlNodeType.ConnectionId) 464) : base(BamlNodeType.StartElement) 507if (_children[i].NodeType == BamlNodeType.Property) 599internal BamlEndElementNode() : base(BamlNodeType.EndElement) 623) : base(BamlNodeType.XmlnsProperty) 652) : base(BamlNodeType.StartComplexProperty) 728internal BamlEndComplexPropertyNode() : base(BamlNodeType.EndComplexProperty) 758_nodeType = BamlNodeType.Property; 811internal BamlLiteralContentNode(string literalContent) : base(BamlNodeType.LiteralContent) 848) : base(BamlNodeType.Text) 885) : base(BamlNodeType.RoutedEvent) 927) : base(BamlNodeType.Event) 956internal BamlDefAttributeNode(string name, string value) : base(BamlNodeType.DefAttribute) 985) : base(BamlNodeType.PIMapping) 1020internal BamlStartConstructorNode() : base(BamlNodeType.StartConstructor) 1040internal BamlEndConstructorNode() : base(BamlNodeType.EndConstructor) 1064) : base(BamlNodeType.ContentProperty) 1097: base(BamlNodeType.PresentationOptionsAttribute)
MS\Internal\Globalization\BamlTreeUpdater.cs (9)
162case BamlNodeType.LiteralContent: 185case BamlNodeType.Property: 208case BamlNodeType.StartElement: 271if (node.NodeType == BamlNodeType.StartElement) 303case BamlNodeType.StartElement: 334if (newNode.NodeType == BamlNodeType.Text) 343if (newNode.NodeType == BamlNodeType.StartElement) 350case BamlNodeType.Text: 371if (newNode.NodeType == BamlNodeType.Text)
MS\Internal\Globalization\LocalizableResourceBuilder.cs (12)
52case BamlNodeType.StartElement: 60case BamlNodeType.LiteralContent: 70case BamlNodeType.Property: 143case BamlNodeType.Property: 168case BamlNodeType.LiteralContent: 175case BamlNodeType.StartElement: 187case BamlNodeType.StartElement: 201case BamlNodeType.Text: 465case BamlNodeType.StartElement: 466case BamlNodeType.LiteralContent: 486case BamlNodeType.Property: 487case BamlNodeType.StartComplexProperty:
System\Windows\Markup\BamlReader.cs (22)
164_bamlNodeType = BamlNodeType.None; 224public BamlNodeType NodeType 325private BamlNodeType NodeTypeInternal 410NodeTypeInternal = BamlNodeType.XmlnsProperty; 414NodeTypeInternal = BamlNodeType.DefAttribute; 418NodeTypeInternal = BamlNodeType.PresentationOptionsAttribute; 422NodeTypeInternal = BamlNodeType.Property; 447NodeTypeInternal = BamlNodeType.ContentProperty; 463NodeTypeInternal = BamlNodeType.ConnectionId; 542NodeTypeInternal = BamlNodeType.None; 1829NodeTypeInternal = BamlNodeType.StartDocument; 1864NodeTypeInternal = BamlNodeType.EndDocument; 1910NodeTypeInternal = BamlNodeType.PIMapping; 1938NodeTypeInternal = BamlNodeType.LiteralContent; 1967NodeTypeInternal = BamlNodeType.StartElement; 2049NodeTypeInternal = BamlNodeType.EndElement; 2086NodeTypeInternal = BamlNodeType.StartComplexProperty; 2156NodeTypeInternal = BamlNodeType.EndComplexProperty; 2210NodeTypeInternal = BamlNodeType.Text; 2228NodeTypeInternal = BamlNodeType.StartConstructor; 2252NodeTypeInternal = BamlNodeType.EndConstructor; 2810private BamlNodeType _bamlNodeType;