8 references to IsReservedKeyword
Microsoft.CodeAnalysis.CSharp (4)
CSharpExtensions.cs (1)
234
return SyntaxFacts.
IsReservedKeyword
(token.Kind());
Parser\LanguageParser.cs (1)
14232
SyntaxFacts.
IsReservedKeyword
(this.CurrentToken.Kind) && this.PeekToken(1).Kind == SyntaxKind.EqualsToken
Parser\SyntaxParser.cs (1)
705
if (SyntaxFacts.
IsReservedKeyword
(actual))
Syntax\SyntaxKindFacts.cs (1)
15
return
IsReservedKeyword
(kind) || IsContextualKeyword(kind);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
120
=> SyntaxFacts.
IsReservedKeyword
(token.Kind());
Microsoft.CodeAnalysis.CSharp.Features (1)
InlineHints\CSharpInlineParameterNameHintsService.cs (1)
106
var isReservedKeyword = SyntaxFacts.
IsReservedKeyword
(keywordKind);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
120
=> SyntaxFacts.
IsReservedKeyword
(token.Kind());
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
120
=> SyntaxFacts.
IsReservedKeyword
(token.Kind());