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