21 references to TokenType
PresentationBuildTasks (21)
MS\Internal\Localization\LocalizationParserHooks.cs (1)
42
switch (tokenNode.
TokenType
)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\StyleXamlParser.cs (2)
104
switch(xamlNode.
TokenType
)
127
ThrowException(nameof(SR.StyleTagNotSupported), xamlNode.
TokenType
.ToString(),
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (2)
92
switch(xamlNode.
TokenType
)
115
ThrowException(nameof(SR.TemplateTagNotSupported), xamlNode.
TokenType
.ToString(),
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParser.cs (3)
272
switch(xamlNode.
TokenType
)
1115
xamlNode.
TokenType
== SkipActionToken)
1140
int tokenIndex = ((IList)XamlNode.ScopeStartTokens).IndexOf(xamlNode.
TokenType
);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (13)
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
;
6431
switch (xamlNode.
TokenType
)
6594
switch (xamlNode.
TokenType
)