5 references to ContextualKind
Microsoft.CodeAnalysis.CSharp (5)
CSharpExtensions.cs (1)
74
return identifier.
ContextualKind
() == SyntaxKind.UnderscoreToken;
Symbols\Source\ModifierUtils.cs (2)
394
DeclarationModifiers one = ToDeclarationModifier(modifier.
ContextualKind
());
410
var isPartialAsyncMethod = isOrdinaryMethod && i == modifiers.Count - 2 && modifiers[i + 1].
ContextualKind
() is SyntaxKind.AsyncKeyword;
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (1)
665
if (identifier.
ContextualKind
() == SyntaxKind.GlobalKeyword)
Syntax\SyntaxTokenParser.cs (1)
133
var contextualKind = Token.
ContextualKind
();