88 references to ScannerNodeType
System.Xaml (88)
System\Xaml\Parser\XamlPullParser.cs (68)
64ScannerNodeType nodeType = _xamlScanner.NodeType; 65while (nodeType == ScannerNodeType.PREFIXDEFINITION) 90ScannerNodeType nodeType = _xamlScanner.NodeType; 94case ScannerNodeType.EMPTYELEMENT: 102case ScannerNodeType.ELEMENT: 124if (_xamlScanner.NodeType != ScannerNodeType.EMPTYELEMENT) 137while (_xamlScanner.NodeType == ScannerNodeType.DIRECTIVE) 152while (_xamlScanner.NodeType == ScannerNodeType.ATTRIBUTE) 175if (_xamlScanner.NodeType != ScannerNodeType.ELEMENT) 188while (_xamlScanner.NodeType == ScannerNodeType.DIRECTIVE) 209while (_xamlScanner.NodeType == ScannerNodeType.ATTRIBUTE) 229ScannerNodeType nodeType = _xamlScanner.NodeType; 232case ScannerNodeType.PROPERTYELEMENT: 233case ScannerNodeType.EMPTYPROPERTYELEMENT: 242case ScannerNodeType.PREFIXDEFINITION: 243case ScannerNodeType.ELEMENT: 244case ScannerNodeType.EMPTYELEMENT: 245case ScannerNodeType.TEXT: 256while (nodeType == ScannerNodeType.PREFIXDEFINITION 257|| nodeType == ScannerNodeType.ELEMENT 258|| nodeType == ScannerNodeType.EMPTYELEMENT 259|| nodeType == ScannerNodeType.TEXT); 281case ScannerNodeType.ENDTAG: 302if (_xamlScanner.NodeType != ScannerNodeType.ENDTAG) 321ScannerNodeType nodeType = _xamlScanner.NodeType; 325case ScannerNodeType.EMPTYPROPERTYELEMENT: 332case ScannerNodeType.PROPERTYELEMENT: 350if (_xamlScanner.NodeType != ScannerNodeType.EMPTYPROPERTYELEMENT) 370if (_xamlScanner.NodeType != ScannerNodeType.PROPERTYELEMENT) 386ScannerNodeType nodeType = _xamlScanner.NodeType; 389case ScannerNodeType.PREFIXDEFINITION: 390case ScannerNodeType.ELEMENT: 391case ScannerNodeType.EMPTYELEMENT: 392case ScannerNodeType.TEXT: 402while (nodeType == ScannerNodeType.PREFIXDEFINITION 403|| nodeType == ScannerNodeType.ELEMENT 404|| nodeType == ScannerNodeType.EMPTYELEMENT 405|| nodeType == ScannerNodeType.TEXT); 432if (_xamlScanner.NodeType != ScannerNodeType.ENDTAG) 454ScannerNodeType nodeType = _xamlScanner.NodeType; 457case ScannerNodeType.PREFIXDEFINITION: 458case ScannerNodeType.ELEMENT: 459case ScannerNodeType.EMPTYELEMENT: 460case ScannerNodeType.TEXT: 461if (nodeType == ScannerNodeType.TEXT) 481while (nodeType == ScannerNodeType.PREFIXDEFINITION) 511if (nodeType == ScannerNodeType.TEXT) 589if (nodeType == ScannerNodeType.TEXT) 651ScannerNodeType nodeType = _xamlScanner.NodeType; 658case ScannerNodeType.PREFIXDEFINITION: 659case ScannerNodeType.ELEMENT: 660case ScannerNodeType.EMPTYELEMENT: 661case ScannerNodeType.TEXT: 662if (nodeType == ScannerNodeType.TEXT) 692while (nodeType == ScannerNodeType.PREFIXDEFINITION) 716if (nodeType == ScannerNodeType.TEXT 740if (nodeType == ScannerNodeType.TEXT) 921ScannerNodeType nextNodeType = _xamlScanner.PeekNodeType; 928if (nextNodeType == ScannerNodeType.ENDTAG || nextNodeType == ScannerNodeType.PROPERTYELEMENT || nextNodeType == ScannerNodeType.EMPTYPROPERTYELEMENT) 943if (nextNodeType == ScannerNodeType.ELEMENT 944|| nextNodeType == ScannerNodeType.EMPTYELEMENT) 1029XamlType valueElementType = (_xamlScanner.NodeType == ScannerNodeType.TEXT) 1075&& _xamlScanner.NodeType == ScannerNodeType.TEXT) 1153if (_xamlScanner.PeekNodeType == ScannerNodeType.ELEMENT) 1172else if (text.IsSpacePreserved && _xamlScanner.PeekNodeType == ScannerNodeType.ENDTAG) 1259public XamlUnexpectedParseException(XamlScanner xamlScanner, ScannerNodeType nodetype, string parseRule)
System\Xaml\Parser\XamlScanner.cs (19)
63public ScannerNodeType PeekNodeType 81public ScannerNodeType NodeType 331node.NodeType = ScannerNodeType.ELEMENT; 336node.NodeType = ScannerNodeType.EMPTYELEMENT; 359node.NodeType = ScannerNodeType.PROPERTYELEMENT; 402node.NodeType = ScannerNodeType.ELEMENT; 407node.NodeType = ScannerNodeType.EMPTYELEMENT; 460node.NodeType = ScannerNodeType.PROPERTYELEMENT; 464node.NodeType = ScannerNodeType.EMPTYPROPERTYELEMENT; 496NodeType = ScannerNodeType.ENDTAG 520NodeType = ScannerNodeType.NONE 531node.NodeType = ScannerNodeType.TEXT; 763node.NodeType = ScannerNodeType.DIRECTIVE; 777node.NodeType = ScannerNodeType.DIRECTIVE; 783node.NodeType = ScannerNodeType.ATTRIBUTE; 791node.NodeType = ScannerNodeType.ATTRIBUTE; 795node.NodeType = ScannerNodeType.ATTRIBUTE; 852NodeType = ScannerNodeType.TEXT, 867NodeType = ScannerNodeType.PREFIXDEFINITION,
System\Xaml\Parser\XamlScannerNode.cs (1)
30public ScannerNodeType NodeType { get; set; }