13 references to NameOfKeyword
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Invocation.cs (1)
2334this.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)
1213case SyntaxKind.NameOfKeyword: 1329return SyntaxKind.NameOfKeyword; 1763case 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)
428name.Identifier.Text == SyntaxFacts.GetText(SyntaxKind.NameOfKeyword)) 655identifierName.Identifier.IsKindOrHasMatchingText(SyntaxKind.NameOfKeyword);
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\NameOfKeywordRecommender.cs (1)
13: base(SyntaxKind.NameOfKeyword)
GenerateMember\GenerateVariable\CSharpGenerateVariableService.cs (1)
54SyntaxKind.NameOfKeyword or
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
428name.Identifier.Text == SyntaxFacts.GetText(SyntaxKind.NameOfKeyword)) 655identifierName.Identifier.IsKindOrHasMatchingText(SyntaxKind.NameOfKeyword);