183 references to XamlNodeType
PresentationBuildTasks (183)
MS\Internal\Localization\LocalizationParserHooks.cs (5)
44
case
XamlNodeType
.DocumentStart :
52
case
XamlNodeType
.DefAttribute :
62
case
XamlNodeType
.Property :
86
case
XamlNodeType
.EndAttributes :
91
case
XamlNodeType
.DocumentEnd :
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\StyleXamlParser.cs (7)
108
case
XamlNodeType
.DocumentStart:
109
case
XamlNodeType
.DocumentEnd:
112
case
XamlNodeType
.ElementEnd:
124
case
XamlNodeType
.PropertyArrayStart:
125
case
XamlNodeType
.PropertyArrayEnd:
126
case
XamlNodeType
.DefTag:
1235
base.WriteElementStart(new XamlElementStartNode(
XamlNodeType
.ElementStart,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (7)
96
case
XamlNodeType
.DocumentStart:
97
case
XamlNodeType
.DocumentEnd:
100
case
XamlNodeType
.ElementEnd:
112
case
XamlNodeType
.PropertyArrayStart:
113
case
XamlNodeType
.PropertyArrayEnd:
114
case
XamlNodeType
.DefTag:
120
case
XamlNodeType
.EndAttributes:
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlNodes.cs (59)
246
XamlNodeType
tokenType,
260
internal
XamlNodeType
TokenType
292
internal static
XamlNodeType
[] ScopeStartTokens = new
XamlNodeType
[]{
293
XamlNodeType
.DocumentStart,
294
XamlNodeType
.ElementStart,
295
XamlNodeType
.PropertyComplexStart,
296
XamlNodeType
.PropertyArrayStart,
297
XamlNodeType
.PropertyIListStart,
298
XamlNodeType
.PropertyIDictionaryStart,
304
internal static
XamlNodeType
[] ScopeEndTokens = new
XamlNodeType
[]{
305
XamlNodeType
.DocumentEnd,
306
XamlNodeType
.ElementEnd,
307
XamlNodeType
.PropertyComplexEnd,
308
XamlNodeType
.PropertyArrayEnd,
309
XamlNodeType
.PropertyIListEnd,
310
XamlNodeType
.PropertyIDictionaryEnd,
313
private
XamlNodeType
_token;
332
: base (
XamlNodeType
.DocumentStart,lineNumber,linePosition,depth)
350
: base (
XamlNodeType
.DocumentEnd,lineNumber,linePosition,depth)
370
: base (
XamlNodeType
.Text,lineNumber,linePosition,depth)
416
XamlNodeType
token,
543
: base (
XamlNodeType
.PropertyComplexStart,
558
XamlNodeType
token,
591
: base (
XamlNodeType
.PropertyComplexEnd,lineNumber,linePosition,depth)
599
XamlNodeType
token,
624
bool isValueTypeExtension) : base(
XamlNodeType
.PropertyWithExtension,
692
bool complexAsSimple) : base (
XamlNodeType
.Property,
934
base (
XamlNodeType
.PropertyWithType,
1017
: base(
XamlNodeType
.UnknownAttribute,lineNumber,linePosition,
1090
: this (
XamlNodeType
.ElementStart,
1105
XamlNodeType
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)
1325
XamlNodeType
tokenType,
1348
: base (
XamlNodeType
.LiteralContent,lineNumber,linePosition,depth)
1375
XamlNodeType
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)
1791
string propertyName) : base (
XamlNodeType
.PropertyArrayStart,
1825
string propertyName) : base (
XamlNodeType
.PropertyIListStart,
1852
string 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)
274
case
XamlNodeType
.DocumentStart:
281
case
XamlNodeType
.DocumentEnd:
290
case
XamlNodeType
.ElementStart:
297
case
XamlNodeType
.ElementEnd:
304
case
XamlNodeType
.UnknownTagStart:
311
case
XamlNodeType
.UnknownTagEnd:
318
case
XamlNodeType
.XmlnsProperty:
327
case
XamlNodeType
.Property:
342
case
XamlNodeType
.PropertyWithExtension:
349
case
XamlNodeType
.PropertyWithType:
356
case
XamlNodeType
.UnknownAttribute:
364
case
XamlNodeType
.PropertyComplexStart:
370
case
XamlNodeType
.PropertyComplexEnd:
376
case
XamlNodeType
.LiteralContent:
382
case
XamlNodeType
.Text:
388
case
XamlNodeType
.ClrEvent:
395
case
XamlNodeType
.PropertyArrayStart:
401
case
XamlNodeType
.PropertyArrayEnd:
407
case
XamlNodeType
.PropertyIListStart:
413
case
XamlNodeType
.PropertyIListEnd:
419
case
XamlNodeType
.PropertyIDictionaryStart:
425
case
XamlNodeType
.PropertyIDictionaryEnd:
431
case
XamlNodeType
.DefTag:
438
case
XamlNodeType
.DefKeyTypeAttribute:
444
case
XamlNodeType
.DefAttribute:
459
case
XamlNodeType
.PresentationOptionsAttribute:
465
case
XamlNodeType
.PIMapping:
472
case
XamlNodeType
.EndAttributes:
487
case
XamlNodeType
.KeyElementStart:
493
case
XamlNodeType
.KeyElementEnd:
499
case
XamlNodeType
.ConstructorParametersEnd:
505
case
XamlNodeType
.ConstructorParametersStart:
511
case
XamlNodeType
.ContentProperty:
517
case
XamlNodeType
.ConstructorParameterType:
1121
SkipActionToken =
XamlNodeType
.Unknown;
1207
private
XamlNodeType
SkipActionToken
1302
private
XamlNodeType
_skipActionToken =
XamlNodeType
.Unknown;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (67)
628
AddNodeToCollection(new XamlElementStartNode(
XamlNodeType
.ElementStart, LineNumber, LinePosition, depth, assemblyName,
5923
if (((XamlNode)_xamlNodes[i]).TokenType ==
XamlNodeType
.ElementStart ||
5924
((XamlNode)_xamlNodes[i]).TokenType ==
XamlNodeType
.EndAttributes)
6067
Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==
XamlNodeType
.ElementStart,
6081
if( xamlNode.TokenType ==
XamlNodeType
.ElementStart )
6093
if( xamlNode.TokenType ==
XamlNodeType
.ElementStart )
6117
else if( xamlNode.TokenType ==
XamlNodeType
.KeyElementStart )
6122
else if( xamlNode.TokenType ==
XamlNodeType
.Text )
6143
if( xamlNode.TokenType ==
XamlNodeType
.KeyElementEnd )
6153
if( xamlNode.TokenType ==
XamlNodeType
.ElementEnd )
6155
Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==
XamlNodeType
.ElementStart,
6181
XamlNodeType
tokenType = xamlNode.TokenType;
6191
case
XamlNodeType
.Property:
6211
case
XamlNodeType
.PropertyWithType:
6215
case
XamlNodeType
.PropertyWithExtension:
6218
case
XamlNodeType
.PropertyComplexStart:
6219
case
XamlNodeType
.PropertyComplexEnd:
6220
case
XamlNodeType
.PropertyArrayStart:
6221
case
XamlNodeType
.PropertyArrayEnd:
6222
case
XamlNodeType
.PropertyIListStart:
6223
case
XamlNodeType
.PropertyIListEnd:
6224
case
XamlNodeType
.PropertyIDictionaryStart:
6225
case
XamlNodeType
.PropertyIDictionaryEnd:
6228
case
XamlNodeType
.RoutedEvent:
6229
case
XamlNodeType
.ClrEvent:
6232
case
XamlNodeType
.ConstructorParametersStart:
6233
case
XamlNodeType
.ConstructorParametersEnd:
6234
case
XamlNodeType
.ConstructorParameterType:
6238
case
XamlNodeType
.ContentProperty:
6242
case
XamlNodeType
.Unknown:
6243
case
XamlNodeType
.UnknownTagStart:
6244
case
XamlNodeType
.UnknownTagEnd:
6245
case
XamlNodeType
.UnknownAttribute:
6249
case
XamlNodeType
.DefTag:
6253
case
XamlNodeType
.ElementEnd:
6262
case
XamlNodeType
.EndAttributes:
6265
case
XamlNodeType
.XmlnsProperty:
6274
case
XamlNodeType
.PIMapping:
6279
case
XamlNodeType
.PresentationOptionsAttribute:
6286
case
XamlNodeType
.DefAttribute:
6321
case
XamlNodeType
.DefKeyTypeAttribute:
6329
case
XamlNodeType
.ElementStart:
6330
case
XamlNodeType
.Text:
6331
case
XamlNodeType
.KeyElementStart:
6332
case
XamlNodeType
.KeyElementEnd:
6336
case
XamlNodeType
.DocumentStart:
6337
case
XamlNodeType
.DocumentEnd:
6338
case
XamlNodeType
.Comment:
6339
case
XamlNodeType
.LiteralContent:
6340
case
XamlNodeType
.ProcessingInstruction:
6439
case
XamlNodeType
.DocumentEnd:
6449
case
XamlNodeType
.ElementStart:
6476
case
XamlNodeType
.Text:
6512
case
XamlNodeType
.ElementEnd:
6545
case
XamlNodeType
.PropertyComplexStart:
6546
case
XamlNodeType
.PropertyArrayStart:
6547
case
XamlNodeType
.PropertyIListStart:
6548
case
XamlNodeType
.PropertyIDictionaryStart:
6570
case
XamlNodeType
.PropertyComplexEnd:
6571
case
XamlNodeType
.PropertyArrayEnd:
6572
case
XamlNodeType
.PropertyIListEnd:
6573
case
XamlNodeType
.PropertyIDictionaryEnd:
6599
case
XamlNodeType
.ElementStart:
6603
case
XamlNodeType
.PropertyComplexStart:
6604
case
XamlNodeType
.PropertyArrayStart:
6605
case
XamlNodeType
.PropertyIListStart:
6606
case
XamlNodeType
.PropertyIDictionaryStart: