11 references to IsKeywordKind
Microsoft.CodeAnalysis.CSharp (3)
CSharpExtensions.cs (1)
224return SyntaxFacts.IsKeywordKind(token.Kind());
Parser\LanguageParser.cs (1)
51return kind == SyntaxKind.IdentifierToken || SyntaxFacts.IsKeywordKind(kind);
Syntax\SyntaxNormalizer.cs (1)
1272return SyntaxFacts.IsKeywordKind(kind) || SyntaxFacts.IsPreprocessorKeyword(kind);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
330if (SyntaxFacts.IsKeywordKind(token.Kind()))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
149if (SyntaxFacts.IsKeywordKind(token.Kind()))
Microsoft.CodeAnalysis.CSharp.Features (1)
ReplaceDocCommentTextWithTag\CSharpReplaceDocCommentTextWithTagCodeRefactoringProvider.cs (1)
30=> SyntaxFacts.IsKeywordKind(SyntaxFacts.GetKeywordKind(text)) || SyntaxFacts.IsContextualKeyword(SyntaxFacts.GetContextualKeywordKind(text));
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\ClassificationHelpers.cs (2)
34else if (SyntaxFacts.IsKeywordKind(token.Kind()) || token.IsKind(SyntaxKind.DiscardDesignation)) 542var isKeyword = SyntaxFacts.IsKeywordKind(token.Kind())
Simplification\Simplifiers\MemberAccessExpressionSimplifier.cs (1)
75(CSharp.SyntaxFacts.IsKeywordKind(nextToken.Kind()) && nextToken.Kind() is not SyntaxKind.AsKeyword and not SyntaxKind.IsKeyword))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
330if (SyntaxFacts.IsKeywordKind(token.Kind()))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
149if (SyntaxFacts.IsKeywordKind(token.Kind()))