13 references to NameOfKeyword
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Invocation.cs (1)
2334
this.LookupSymbolsWithFallback(lookupResult, SyntaxFacts.GetText(SyntaxKind.
NameOfKeyword
), useSiteInfo: ref discardedUseSiteInfo, arity: 0, options: options);
Binder\Binder_Symbols.cs (1)
1017
(invocation.Expression as IdentifierNameSyntax)?.Identifier.ContextualKind() == SyntaxKind.
NameOfKeyword
):
Parser\LanguageParser_Patterns.cs (1)
85
(this.CurrentToken.ContextualKind != SyntaxKind.
NameOfKeyword
|| this.PeekToken(1).Kind != SyntaxKind.OpenParenToken))
Syntax\SyntaxKindFacts.cs (3)
1213
case SyntaxKind.
NameOfKeyword
:
1329
return SyntaxKind.
NameOfKeyword
;
1763
case SyntaxKind.
NameOfKeyword
:
Syntax\SyntaxNodeExtensions.cs (1)
56
((IdentifierNameSyntax)node.Expression).Identifier.ContextualKind() == SyntaxKind.
NameOfKeyword
&&
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
429
name.Identifier.Text == SyntaxFacts.GetText(SyntaxKind.
NameOfKeyword
))
656
identifierName.Identifier.IsKindOrHasMatchingText(SyntaxKind.
NameOfKeyword
);
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\NameOfKeywordRecommender.cs (1)
13
: base(SyntaxKind.
NameOfKeyword
)
GenerateMember\GenerateVariable\CSharpGenerateVariableService.cs (1)
54
SyntaxKind.
NameOfKeyword
or
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
429
name.Identifier.Text == SyntaxFacts.GetText(SyntaxKind.
NameOfKeyword
))
656
identifierName.Identifier.IsKindOrHasMatchingText(SyntaxKind.
NameOfKeyword
);