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)
625
AddNodeToCollection(new XamlElementStartNode(
XamlNodeType
.ElementStart, LineNumber, LinePosition, depth, assemblyName,
5920
if (((XamlNode)_xamlNodes[i]).TokenType ==
XamlNodeType
.ElementStart ||
5921
((XamlNode)_xamlNodes[i]).TokenType ==
XamlNodeType
.EndAttributes)
6064
Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==
XamlNodeType
.ElementStart,
6078
if( xamlNode.TokenType ==
XamlNodeType
.ElementStart )
6090
if( xamlNode.TokenType ==
XamlNodeType
.ElementStart )
6114
else if( xamlNode.TokenType ==
XamlNodeType
.KeyElementStart )
6119
else if( xamlNode.TokenType ==
XamlNodeType
.Text )
6140
if( xamlNode.TokenType ==
XamlNodeType
.KeyElementEnd )
6150
if( xamlNode.TokenType ==
XamlNodeType
.ElementEnd )
6152
Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==
XamlNodeType
.ElementStart,
6178
XamlNodeType
tokenType = xamlNode.TokenType;
6188
case
XamlNodeType
.Property:
6208
case
XamlNodeType
.PropertyWithType:
6212
case
XamlNodeType
.PropertyWithExtension:
6215
case
XamlNodeType
.PropertyComplexStart:
6216
case
XamlNodeType
.PropertyComplexEnd:
6217
case
XamlNodeType
.PropertyArrayStart:
6218
case
XamlNodeType
.PropertyArrayEnd:
6219
case
XamlNodeType
.PropertyIListStart:
6220
case
XamlNodeType
.PropertyIListEnd:
6221
case
XamlNodeType
.PropertyIDictionaryStart:
6222
case
XamlNodeType
.PropertyIDictionaryEnd:
6225
case
XamlNodeType
.RoutedEvent:
6226
case
XamlNodeType
.ClrEvent:
6229
case
XamlNodeType
.ConstructorParametersStart:
6230
case
XamlNodeType
.ConstructorParametersEnd:
6231
case
XamlNodeType
.ConstructorParameterType:
6235
case
XamlNodeType
.ContentProperty:
6239
case
XamlNodeType
.Unknown:
6240
case
XamlNodeType
.UnknownTagStart:
6241
case
XamlNodeType
.UnknownTagEnd:
6242
case
XamlNodeType
.UnknownAttribute:
6246
case
XamlNodeType
.DefTag:
6250
case
XamlNodeType
.ElementEnd:
6259
case
XamlNodeType
.EndAttributes:
6262
case
XamlNodeType
.XmlnsProperty:
6271
case
XamlNodeType
.PIMapping:
6276
case
XamlNodeType
.PresentationOptionsAttribute:
6283
case
XamlNodeType
.DefAttribute:
6318
case
XamlNodeType
.DefKeyTypeAttribute:
6326
case
XamlNodeType
.ElementStart:
6327
case
XamlNodeType
.Text:
6328
case
XamlNodeType
.KeyElementStart:
6329
case
XamlNodeType
.KeyElementEnd:
6333
case
XamlNodeType
.DocumentStart:
6334
case
XamlNodeType
.DocumentEnd:
6335
case
XamlNodeType
.Comment:
6336
case
XamlNodeType
.LiteralContent:
6337
case
XamlNodeType
.ProcessingInstruction:
6436
case
XamlNodeType
.DocumentEnd:
6446
case
XamlNodeType
.ElementStart:
6473
case
XamlNodeType
.Text:
6509
case
XamlNodeType
.ElementEnd:
6542
case
XamlNodeType
.PropertyComplexStart:
6543
case
XamlNodeType
.PropertyArrayStart:
6544
case
XamlNodeType
.PropertyIListStart:
6545
case
XamlNodeType
.PropertyIDictionaryStart:
6567
case
XamlNodeType
.PropertyComplexEnd:
6568
case
XamlNodeType
.PropertyArrayEnd:
6569
case
XamlNodeType
.PropertyIListEnd:
6570
case
XamlNodeType
.PropertyIDictionaryEnd:
6596
case
XamlNodeType
.ElementStart:
6600
case
XamlNodeType
.PropertyComplexStart:
6601
case
XamlNodeType
.PropertyArrayStart:
6602
case
XamlNodeType
.PropertyIListStart:
6603
case
XamlNodeType
.PropertyIDictionaryStart: