183 references to XamlNodeType
PresentationBuildTasks (183)
MS\Internal\Localization\LocalizationParserHooks.cs (5)
44case XamlNodeType.DocumentStart : 52case XamlNodeType.DefAttribute : 62case XamlNodeType.Property : 86case XamlNodeType.EndAttributes : 91case XamlNodeType.DocumentEnd :
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\StyleXamlParser.cs (7)
108case XamlNodeType.DocumentStart: 109case XamlNodeType.DocumentEnd: 112case XamlNodeType.ElementEnd: 124case XamlNodeType.PropertyArrayStart: 125case XamlNodeType.PropertyArrayEnd: 126case XamlNodeType.DefTag: 1235base.WriteElementStart(new XamlElementStartNode(XamlNodeType.ElementStart,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (7)
96case XamlNodeType.DocumentStart: 97case XamlNodeType.DocumentEnd: 100case XamlNodeType.ElementEnd: 112case XamlNodeType.PropertyArrayStart: 113case XamlNodeType.PropertyArrayEnd: 114case XamlNodeType.DefTag: 120case XamlNodeType.EndAttributes:
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlNodes.cs (59)
246XamlNodeType tokenType, 260internal XamlNodeType TokenType 292internal static XamlNodeType[] ScopeStartTokens = new XamlNodeType[]{ 293XamlNodeType.DocumentStart, 294XamlNodeType.ElementStart, 295XamlNodeType.PropertyComplexStart, 296XamlNodeType.PropertyArrayStart, 297XamlNodeType.PropertyIListStart, 298XamlNodeType.PropertyIDictionaryStart, 304internal static XamlNodeType[] ScopeEndTokens = new XamlNodeType[]{ 305XamlNodeType.DocumentEnd, 306XamlNodeType.ElementEnd, 307XamlNodeType.PropertyComplexEnd, 308XamlNodeType.PropertyArrayEnd, 309XamlNodeType.PropertyIListEnd, 310XamlNodeType.PropertyIDictionaryEnd, 313private XamlNodeType _token; 332: base (XamlNodeType.DocumentStart,lineNumber,linePosition,depth) 350: base (XamlNodeType.DocumentEnd,lineNumber,linePosition,depth) 370: base (XamlNodeType.Text,lineNumber,linePosition,depth) 416XamlNodeType token, 543: base (XamlNodeType.PropertyComplexStart, 558XamlNodeType token, 591: base (XamlNodeType.PropertyComplexEnd,lineNumber,linePosition,depth) 599XamlNodeType token, 624bool isValueTypeExtension) : base(XamlNodeType.PropertyWithExtension, 692bool complexAsSimple) : base (XamlNodeType.Property, 934base (XamlNodeType.PropertyWithType, 1017: base(XamlNodeType.UnknownAttribute,lineNumber,linePosition, 1090: this (XamlNodeType.ElementStart, 1105XamlNodeType tokenType, 1229: base (XamlNodeType.ConstructorParametersStart,lineNumber,linePosition,depth) 1246: base (XamlNodeType.ConstructorParametersEnd,lineNumber,linePosition,depth) 1267: base (XamlNodeType.ConstructorParameterType,lineNumber,linePosition,depth) 1317: this (XamlNodeType.ElementEnd,lineNumber,linePosition,depth) 1325XamlNodeType tokenType, 1348: base (XamlNodeType.LiteralContent,lineNumber,linePosition,depth) 1375XamlNodeType tokenType, 1411: base(XamlNodeType.UnknownTagStart,lineNumber,linePosition,depth, 1443: base (XamlNodeType.UnknownTagEnd,lineNumber,linePosition,depth) 1553: base (XamlNodeType.XmlnsProperty,lineNumber,linePosition,depth) 1596: base (XamlNodeType.PIMapping,lineNumber,linePosition,depth) 1652: base (XamlNodeType.ClrEvent,lineNumber,linePosition,depth,value) 1791string propertyName) : base (XamlNodeType.PropertyArrayStart, 1825string propertyName) : base (XamlNodeType.PropertyIListStart, 1852string propertyName) : base (XamlNodeType.PropertyIDictionaryStart, 1877: base (XamlNodeType.PropertyArrayEnd,lineNumber,linePosition,depth) 1901: base (XamlNodeType.PropertyIListEnd,lineNumber,linePosition,depth) 1915: base (XamlNodeType.PropertyIDictionaryEnd,lineNumber,linePosition,depth) 1935: base (XamlNodeType.EndAttributes,lineNumber,linePosition,depth) 1963: base (XamlNodeType.DefTag,lineNumber,linePosition,depth,defTagName) 2026: base (XamlNodeType.DefAttribute,lineNumber,linePosition,depth,value) 2071: base (XamlNodeType.DefKeyTypeAttribute,lineNumber,linePosition,depth,value) 2111: base (XamlNodeType.PresentationOptionsAttribute,lineNumber,linePosition,depth,value) 2157: base (XamlNodeType.KeyElementStart, 2184: base (XamlNodeType.KeyElementEnd,lineNumber,linePosition,depth) 2203: base (XamlNodeType.ContentProperty,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParser.cs (38)
274case XamlNodeType.DocumentStart: 281case XamlNodeType.DocumentEnd: 290case XamlNodeType.ElementStart: 297case XamlNodeType.ElementEnd: 304case XamlNodeType.UnknownTagStart: 311case XamlNodeType.UnknownTagEnd: 318case XamlNodeType.XmlnsProperty: 327case XamlNodeType.Property: 342case XamlNodeType.PropertyWithExtension: 349case XamlNodeType.PropertyWithType: 356case XamlNodeType.UnknownAttribute: 364case XamlNodeType.PropertyComplexStart: 370case XamlNodeType.PropertyComplexEnd: 376case XamlNodeType.LiteralContent: 382case XamlNodeType.Text: 388case XamlNodeType.ClrEvent: 395case XamlNodeType.PropertyArrayStart: 401case XamlNodeType.PropertyArrayEnd: 407case XamlNodeType.PropertyIListStart: 413case XamlNodeType.PropertyIListEnd: 419case XamlNodeType.PropertyIDictionaryStart: 425case XamlNodeType.PropertyIDictionaryEnd: 431case XamlNodeType.DefTag: 438case XamlNodeType.DefKeyTypeAttribute: 444case XamlNodeType.DefAttribute: 459case XamlNodeType.PresentationOptionsAttribute: 465case XamlNodeType.PIMapping: 472case XamlNodeType.EndAttributes: 487case XamlNodeType.KeyElementStart: 493case XamlNodeType.KeyElementEnd: 499case XamlNodeType.ConstructorParametersEnd: 505case XamlNodeType.ConstructorParametersStart: 511case XamlNodeType.ContentProperty: 517case XamlNodeType.ConstructorParameterType: 1121SkipActionToken = XamlNodeType.Unknown; 1207private XamlNodeType SkipActionToken 1302private XamlNodeType _skipActionToken = XamlNodeType.Unknown;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (67)
625AddNodeToCollection(new XamlElementStartNode(XamlNodeType.ElementStart, LineNumber, LinePosition, depth, assemblyName, 5920if (((XamlNode)_xamlNodes[i]).TokenType == XamlNodeType.ElementStart || 5921((XamlNode)_xamlNodes[i]).TokenType == XamlNodeType.EndAttributes) 6064Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart, 6078if( xamlNode.TokenType == XamlNodeType.ElementStart ) 6090if( xamlNode.TokenType == XamlNodeType.ElementStart ) 6114else if( xamlNode.TokenType == XamlNodeType.KeyElementStart ) 6119else if( xamlNode.TokenType == XamlNodeType.Text ) 6140if( xamlNode.TokenType == XamlNodeType.KeyElementEnd ) 6150if( xamlNode.TokenType == XamlNodeType.ElementEnd ) 6152Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart, 6178XamlNodeType tokenType = xamlNode.TokenType; 6188case XamlNodeType.Property: 6208case XamlNodeType.PropertyWithType: 6212case XamlNodeType.PropertyWithExtension: 6215case XamlNodeType.PropertyComplexStart: 6216case XamlNodeType.PropertyComplexEnd: 6217case XamlNodeType.PropertyArrayStart: 6218case XamlNodeType.PropertyArrayEnd: 6219case XamlNodeType.PropertyIListStart: 6220case XamlNodeType.PropertyIListEnd: 6221case XamlNodeType.PropertyIDictionaryStart: 6222case XamlNodeType.PropertyIDictionaryEnd: 6225case XamlNodeType.RoutedEvent: 6226case XamlNodeType.ClrEvent: 6229case XamlNodeType.ConstructorParametersStart: 6230case XamlNodeType.ConstructorParametersEnd: 6231case XamlNodeType.ConstructorParameterType: 6235case XamlNodeType.ContentProperty: 6239case XamlNodeType.Unknown: 6240case XamlNodeType.UnknownTagStart: 6241case XamlNodeType.UnknownTagEnd: 6242case XamlNodeType.UnknownAttribute: 6246case XamlNodeType.DefTag: 6250case XamlNodeType.ElementEnd: 6259case XamlNodeType.EndAttributes: 6262case XamlNodeType.XmlnsProperty: 6271case XamlNodeType.PIMapping: 6276case XamlNodeType.PresentationOptionsAttribute: 6283case XamlNodeType.DefAttribute: 6318case XamlNodeType.DefKeyTypeAttribute: 6326case XamlNodeType.ElementStart: 6327case XamlNodeType.Text: 6328case XamlNodeType.KeyElementStart: 6329case XamlNodeType.KeyElementEnd: 6333case XamlNodeType.DocumentStart: 6334case XamlNodeType.DocumentEnd: 6335case XamlNodeType.Comment: 6336case XamlNodeType.LiteralContent: 6337case XamlNodeType.ProcessingInstruction: 6436case XamlNodeType.DocumentEnd: 6446case XamlNodeType.ElementStart: 6473case XamlNodeType.Text: 6509case XamlNodeType.ElementEnd: 6542case XamlNodeType.PropertyComplexStart: 6543case XamlNodeType.PropertyArrayStart: 6544case XamlNodeType.PropertyIListStart: 6545case XamlNodeType.PropertyIDictionaryStart: 6567case XamlNodeType.PropertyComplexEnd: 6568case XamlNodeType.PropertyArrayEnd: 6569case XamlNodeType.PropertyIListEnd: 6570case XamlNodeType.PropertyIDictionaryEnd: 6596case XamlNodeType.ElementStart: 6600case XamlNodeType.PropertyComplexStart: 6601case XamlNodeType.PropertyArrayStart: 6602case XamlNodeType.PropertyIListStart: 6603case XamlNodeType.PropertyIDictionaryStart: