183 references to XamlNodeType
PresentationBuildTasks (183)
BuildTasks\MS\Internal\Localization\LocalizationParserHooks.cs (5)
53case XamlNodeType.DocumentStart : 61case XamlNodeType.DefAttribute : 71case XamlNodeType.Property : 95case XamlNodeType.EndAttributes : 100case XamlNodeType.DocumentEnd :
Framework\System\Windows\Markup\StyleXamlParser.cs (7)
117case XamlNodeType.DocumentStart: 118case XamlNodeType.DocumentEnd: 121case XamlNodeType.ElementEnd: 133case XamlNodeType.PropertyArrayStart: 134case XamlNodeType.PropertyArrayEnd: 135case XamlNodeType.DefTag: 1247base.WriteElementStart(new XamlElementStartNode(XamlNodeType.ElementStart,
Framework\System\Windows\Markup\TemplateXamlParser.cs (7)
104case XamlNodeType.DocumentStart: 105case XamlNodeType.DocumentEnd: 108case XamlNodeType.ElementEnd: 120case XamlNodeType.PropertyArrayStart: 121case XamlNodeType.PropertyArrayEnd: 122case XamlNodeType.DefTag: 128case XamlNodeType.EndAttributes:
Framework\System\Windows\Markup\XamlNodes.cs (59)
256XamlNodeType tokenType, 270internal XamlNodeType TokenType 302internal static XamlNodeType[] ScopeStartTokens = new XamlNodeType[]{ 303XamlNodeType.DocumentStart, 304XamlNodeType.ElementStart, 305XamlNodeType.PropertyComplexStart, 306XamlNodeType.PropertyArrayStart, 307XamlNodeType.PropertyIListStart, 308XamlNodeType.PropertyIDictionaryStart, 314internal static XamlNodeType[] ScopeEndTokens = new XamlNodeType[]{ 315XamlNodeType.DocumentEnd, 316XamlNodeType.ElementEnd, 317XamlNodeType.PropertyComplexEnd, 318XamlNodeType.PropertyArrayEnd, 319XamlNodeType.PropertyIListEnd, 320XamlNodeType.PropertyIDictionaryEnd, 323XamlNodeType _token; 343: base (XamlNodeType.DocumentStart,lineNumber,linePosition,depth) 362: base (XamlNodeType.DocumentEnd,lineNumber,linePosition,depth) 382: base (XamlNodeType.Text,lineNumber,linePosition,depth) 428XamlNodeType token, 555: base (XamlNodeType.PropertyComplexStart, 570XamlNodeType token, 603: base (XamlNodeType.PropertyComplexEnd,lineNumber,linePosition,depth) 611XamlNodeType token, 636bool isValueTypeExtension) : base(XamlNodeType.PropertyWithExtension, 704bool complexAsSimple) : base (XamlNodeType.Property, 946base (XamlNodeType.PropertyWithType, 1029: base(XamlNodeType.UnknownAttribute,lineNumber,linePosition, 1103: this (XamlNodeType.ElementStart, 1118XamlNodeType tokenType, 1242: base (XamlNodeType.ConstructorParametersStart,lineNumber,linePosition,depth) 1259: base (XamlNodeType.ConstructorParametersEnd,lineNumber,linePosition,depth) 1280: base (XamlNodeType.ConstructorParameterType,lineNumber,linePosition,depth) 1330: this (XamlNodeType.ElementEnd,lineNumber,linePosition,depth) 1338XamlNodeType tokenType, 1362: base (XamlNodeType.LiteralContent,lineNumber,linePosition,depth) 1389XamlNodeType tokenType, 1426: base(XamlNodeType.UnknownTagStart,lineNumber,linePosition,depth, 1458: base (XamlNodeType.UnknownTagEnd,lineNumber,linePosition,depth) 1569: base (XamlNodeType.XmlnsProperty,lineNumber,linePosition,depth) 1613: base (XamlNodeType.PIMapping,lineNumber,linePosition,depth) 1669: base (XamlNodeType.ClrEvent,lineNumber,linePosition,depth,value) 1809string propertyName) : base (XamlNodeType.PropertyArrayStart, 1844string propertyName) : base (XamlNodeType.PropertyIListStart, 1872string propertyName) : base (XamlNodeType.PropertyIDictionaryStart, 1898: base (XamlNodeType.PropertyArrayEnd,lineNumber,linePosition,depth) 1922: base (XamlNodeType.PropertyIListEnd,lineNumber,linePosition,depth) 1936: base (XamlNodeType.PropertyIDictionaryEnd,lineNumber,linePosition,depth) 1956: base (XamlNodeType.EndAttributes,lineNumber,linePosition,depth) 1984: base (XamlNodeType.DefTag,lineNumber,linePosition,depth,defTagName) 2047: base (XamlNodeType.DefAttribute,lineNumber,linePosition,depth,value) 2092: base (XamlNodeType.DefKeyTypeAttribute,lineNumber,linePosition,depth,value) 2132: base (XamlNodeType.PresentationOptionsAttribute,lineNumber,linePosition,depth,value) 2178: base (XamlNodeType.KeyElementStart, 2205: base (XamlNodeType.KeyElementEnd,lineNumber,linePosition,depth) 2224: base (XamlNodeType.ContentProperty,
Framework\System\Windows\Markup\XamlParser.cs (38)
282case XamlNodeType.DocumentStart: 289case XamlNodeType.DocumentEnd: 298case XamlNodeType.ElementStart: 305case XamlNodeType.ElementEnd: 312case XamlNodeType.UnknownTagStart: 319case XamlNodeType.UnknownTagEnd: 326case XamlNodeType.XmlnsProperty: 335case XamlNodeType.Property: 350case XamlNodeType.PropertyWithExtension: 357case XamlNodeType.PropertyWithType: 364case XamlNodeType.UnknownAttribute: 372case XamlNodeType.PropertyComplexStart: 378case XamlNodeType.PropertyComplexEnd: 384case XamlNodeType.LiteralContent: 390case XamlNodeType.Text: 396case XamlNodeType.ClrEvent: 403case XamlNodeType.PropertyArrayStart: 409case XamlNodeType.PropertyArrayEnd: 415case XamlNodeType.PropertyIListStart: 421case XamlNodeType.PropertyIListEnd: 427case XamlNodeType.PropertyIDictionaryStart: 433case XamlNodeType.PropertyIDictionaryEnd: 439case XamlNodeType.DefTag: 446case XamlNodeType.DefKeyTypeAttribute: 452case XamlNodeType.DefAttribute: 467case XamlNodeType.PresentationOptionsAttribute: 473case XamlNodeType.PIMapping: 480case XamlNodeType.EndAttributes: 495case XamlNodeType.KeyElementStart: 501case XamlNodeType.KeyElementEnd: 507case XamlNodeType.ConstructorParametersEnd: 513case XamlNodeType.ConstructorParametersStart: 519case XamlNodeType.ContentProperty: 525case XamlNodeType.ConstructorParameterType: 1227SkipActionToken = XamlNodeType.Unknown; 1313XamlNodeType SkipActionToken 1408XamlNodeType _skipActionToken = XamlNodeType.Unknown;
Framework\System\Windows\Markup\XamlReaderHelper.cs (67)
641AddNodeToCollection(new XamlElementStartNode(XamlNodeType.ElementStart, LineNumber, LinePosition, depth, assemblyName, 5882if (((XamlNode)_xamlNodes[i]).TokenType == XamlNodeType.ElementStart || 5883((XamlNode)_xamlNodes[i]).TokenType == XamlNodeType.EndAttributes) 6026Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart, 6040if( xamlNode.TokenType == XamlNodeType.ElementStart ) 6052if( xamlNode.TokenType == XamlNodeType.ElementStart ) 6076else if( xamlNode.TokenType == XamlNodeType.KeyElementStart ) 6081else if( xamlNode.TokenType == XamlNodeType.Text ) 6102if( xamlNode.TokenType == XamlNodeType.KeyElementEnd ) 6112if( xamlNode.TokenType == XamlNodeType.ElementEnd ) 6114Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart, 6140XamlNodeType tokenType = xamlNode.TokenType; 6150case XamlNodeType.Property: 6170case XamlNodeType.PropertyWithType: 6174case XamlNodeType.PropertyWithExtension: 6177case XamlNodeType.PropertyComplexStart: 6178case XamlNodeType.PropertyComplexEnd: 6179case XamlNodeType.PropertyArrayStart: 6180case XamlNodeType.PropertyArrayEnd: 6181case XamlNodeType.PropertyIListStart: 6182case XamlNodeType.PropertyIListEnd: 6183case XamlNodeType.PropertyIDictionaryStart: 6184case XamlNodeType.PropertyIDictionaryEnd: 6187case XamlNodeType.RoutedEvent: 6188case XamlNodeType.ClrEvent: 6191case XamlNodeType.ConstructorParametersStart: 6192case XamlNodeType.ConstructorParametersEnd: 6193case XamlNodeType.ConstructorParameterType: 6197case XamlNodeType.ContentProperty: 6201case XamlNodeType.Unknown: 6202case XamlNodeType.UnknownTagStart: 6203case XamlNodeType.UnknownTagEnd: 6204case XamlNodeType.UnknownAttribute: 6208case XamlNodeType.DefTag: 6212case XamlNodeType.ElementEnd: 6221case XamlNodeType.EndAttributes: 6224case XamlNodeType.XmlnsProperty: 6233case XamlNodeType.PIMapping: 6238case XamlNodeType.PresentationOptionsAttribute: 6245case XamlNodeType.DefAttribute: 6280case XamlNodeType.DefKeyTypeAttribute: 6288case XamlNodeType.ElementStart: 6289case XamlNodeType.Text: 6290case XamlNodeType.KeyElementStart: 6291case XamlNodeType.KeyElementEnd: 6295case XamlNodeType.DocumentStart: 6296case XamlNodeType.DocumentEnd: 6297case XamlNodeType.Comment: 6298case XamlNodeType.LiteralContent: 6299case XamlNodeType.ProcessingInstruction: 6398case XamlNodeType.DocumentEnd: 6408case XamlNodeType.ElementStart: 6435case XamlNodeType.Text: 6471case XamlNodeType.ElementEnd: 6504case XamlNodeType.PropertyComplexStart: 6505case XamlNodeType.PropertyArrayStart: 6506case XamlNodeType.PropertyIListStart: 6507case XamlNodeType.PropertyIDictionaryStart: 6529case XamlNodeType.PropertyComplexEnd: 6530case XamlNodeType.PropertyArrayEnd: 6531case XamlNodeType.PropertyIListEnd: 6532case XamlNodeType.PropertyIDictionaryEnd: 6558case XamlNodeType.ElementStart: 6562case XamlNodeType.PropertyComplexStart: 6563case XamlNodeType.PropertyArrayStart: 6564case XamlNodeType.PropertyIListStart: 6565case XamlNodeType.PropertyIDictionaryStart: