30 references to ExplicitKeyword
Microsoft.CodeAnalysis.CSharp (20)
_generated\0\Syntax.xml.Main.Generated.cs (2)
5553case SyntaxKind.ExplicitKeyword: break; 6031case SyntaxKind.ExplicitKeyword: break;
_generated\1\Syntax.xml.Internal.Generated.cs (4)
32695case SyntaxKind.ExplicitKeyword: break; 33217case SyntaxKind.ExplicitKeyword: break; 38122case SyntaxKind.ExplicitKeyword: break; 38644case SyntaxKind.ExplicitKeyword: break;
Parser\DocumentationCommentParser.cs (2)
946case SyntaxKind.ExplicitKeyword: 1207Debug.Assert(CurrentToken.Kind == SyntaxKind.ExplicitKeyword ||
Parser\LanguageParser.cs (8)
1587(currentTokenKind is SyntaxKind.ExplicitKeyword or SyntaxKind.ImplicitKeyword && PeekToken(1).Kind == SyntaxKind.OperatorKeyword)) 2473case SyntaxKind.ExplicitKeyword: 3485return this.CurrentToken.Kind is SyntaxKind.ImplicitKeyword or SyntaxKind.ExplicitKeyword or SyntaxKind.OperatorKeyword; 3779if (this.CurrentToken.Kind is not (SyntaxKind.ImplicitKeyword or SyntaxKind.ExplicitKeyword)) 3857var style = this.CurrentToken.Kind is SyntaxKind.ImplicitKeyword or SyntaxKind.ExplicitKeyword 3859: this.EatToken(SyntaxKind.ExplicitKeyword); 4021if (firstToken.Kind is SyntaxKind.ExplicitKeyword or SyntaxKind.ImplicitKeyword && 4062if (this.CurrentToken.Kind is SyntaxKind.ImplicitKeyword or SyntaxKind.ExplicitKeyword)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
720return SyntaxKind.ExplicitKeyword;
Syntax\SyntaxKindFacts.cs (3)
1043return SyntaxKind.ExplicitKeyword; 1076return SyntaxKind.ExplicitKeyword; 1744case SyntaxKind.ExplicitKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
38public static readonly SyntaxToken ExplicitKeyword = Token(SyntaxKind.ExplicitKeyword);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1194token.GetPreviousToken(includeSkipped: true).Kind() is SyntaxKind.ImplicitKeyword or SyntaxKind.ExplicitKeyword)
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\KeywordRecommenders\CheckedKeywordRecommender.cs (1)
53if (previousToken.Kind() == SyntaxKind.ExplicitKeyword)
Completion\KeywordRecommenders\ExplicitKeywordRecommender.cs (1)
12internal sealed class ExplicitKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.ExplicitKeyword)
Completion\KeywordRecommenders\OperatorKeywordRecommender.cs (1)
20token.Kind() is SyntaxKind.ImplicitKeyword or SyntaxKind.ExplicitKeyword;
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
38public static readonly SyntaxToken ExplicitKeyword = Token(SyntaxKind.ExplicitKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1194token.GetPreviousToken(includeSkipped: true).Kind() is SyntaxKind.ImplicitKeyword or SyntaxKind.ExplicitKeyword)
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\NativeCSharpTokenizer.cs (1)
54CSharpSyntaxKind.ExplicitKeyword,
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
38public static readonly SyntaxToken ExplicitKeyword = Token(SyntaxKind.ExplicitKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1194token.GetPreviousToken(includeSkipped: true).Kind() is SyntaxKind.ImplicitKeyword or SyntaxKind.ExplicitKeyword)