9 references to IsReservedKeyword
Microsoft.CodeAnalysis.CSharp (3)
CSharpExtensions.cs (1)
234return SyntaxFacts.IsReservedKeyword(token.Kind());
Parser\SyntaxParser.cs (1)
687if (SyntaxFacts.IsReservedKeyword(actual))
Syntax\SyntaxKindFacts.cs (1)
15return IsReservedKeyword(kind) || IsContextualKeyword(kind);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
112=> SyntaxFacts.IsReservedKeyword(token.Kind());
Microsoft.CodeAnalysis.CSharp.Features (1)
InlineHints\CSharpInlineParameterNameHintsService.cs (1)
106var isReservedKeyword = SyntaxFacts.IsReservedKeyword(keywordKind);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
LexicalAndXml\LexicalTests.cs (3)
837if (SyntaxFacts.IsReservedKeyword(keyword)) 879if (SyntaxFacts.IsReservedKeyword(keyword)) 885Assert.True(SyntaxFacts.IsReservedKeyword(token.Kind()));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
112=> SyntaxFacts.IsReservedKeyword(token.Kind());