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)
628AddNodeToCollection(new XamlElementStartNode(XamlNodeType.ElementStart, LineNumber, LinePosition, depth, assemblyName, 5923if (((XamlNode)_xamlNodes[i]).TokenType == XamlNodeType.ElementStart || 5924((XamlNode)_xamlNodes[i]).TokenType == XamlNodeType.EndAttributes) 6067Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart, 6081if( xamlNode.TokenType == XamlNodeType.ElementStart ) 6093if( xamlNode.TokenType == XamlNodeType.ElementStart ) 6117else if( xamlNode.TokenType == XamlNodeType.KeyElementStart ) 6122else if( xamlNode.TokenType == XamlNodeType.Text ) 6143if( xamlNode.TokenType == XamlNodeType.KeyElementEnd ) 6153if( xamlNode.TokenType == XamlNodeType.ElementEnd ) 6155Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart, 6181XamlNodeType tokenType = xamlNode.TokenType; 6191case XamlNodeType.Property: 6211case XamlNodeType.PropertyWithType: 6215case XamlNodeType.PropertyWithExtension: 6218case XamlNodeType.PropertyComplexStart: 6219case XamlNodeType.PropertyComplexEnd: 6220case XamlNodeType.PropertyArrayStart: 6221case XamlNodeType.PropertyArrayEnd: 6222case XamlNodeType.PropertyIListStart: 6223case XamlNodeType.PropertyIListEnd: 6224case XamlNodeType.PropertyIDictionaryStart: 6225case XamlNodeType.PropertyIDictionaryEnd: 6228case XamlNodeType.RoutedEvent: 6229case XamlNodeType.ClrEvent: 6232case XamlNodeType.ConstructorParametersStart: 6233case XamlNodeType.ConstructorParametersEnd: 6234case XamlNodeType.ConstructorParameterType: 6238case XamlNodeType.ContentProperty: 6242case XamlNodeType.Unknown: 6243case XamlNodeType.UnknownTagStart: 6244case XamlNodeType.UnknownTagEnd: 6245case XamlNodeType.UnknownAttribute: 6249case XamlNodeType.DefTag: 6253case XamlNodeType.ElementEnd: 6262case XamlNodeType.EndAttributes: 6265case XamlNodeType.XmlnsProperty: 6274case XamlNodeType.PIMapping: 6279case XamlNodeType.PresentationOptionsAttribute: 6286case XamlNodeType.DefAttribute: 6321case XamlNodeType.DefKeyTypeAttribute: 6329case XamlNodeType.ElementStart: 6330case XamlNodeType.Text: 6331case XamlNodeType.KeyElementStart: 6332case XamlNodeType.KeyElementEnd: 6336case XamlNodeType.DocumentStart: 6337case XamlNodeType.DocumentEnd: 6338case XamlNodeType.Comment: 6339case XamlNodeType.LiteralContent: 6340case XamlNodeType.ProcessingInstruction: 6439case XamlNodeType.DocumentEnd: 6449case XamlNodeType.ElementStart: 6476case XamlNodeType.Text: 6512case XamlNodeType.ElementEnd: 6545case XamlNodeType.PropertyComplexStart: 6546case XamlNodeType.PropertyArrayStart: 6547case XamlNodeType.PropertyIListStart: 6548case XamlNodeType.PropertyIDictionaryStart: 6570case XamlNodeType.PropertyComplexEnd: 6571case XamlNodeType.PropertyArrayEnd: 6572case XamlNodeType.PropertyIListEnd: 6573case XamlNodeType.PropertyIDictionaryEnd: 6599case XamlNodeType.ElementStart: 6603case XamlNodeType.PropertyComplexStart: 6604case XamlNodeType.PropertyArrayStart: 6605case XamlNodeType.PropertyIListStart: 6606case XamlNodeType.PropertyIDictionaryStart: