19 references to GotoKeyword
Microsoft.CodeAnalysis.CSharp (10)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Syntax.xml.Main.Generated.cs (3)
4220if (gotoKeyword.Kind() != SyntaxKind.GotoKeyword) throw new ArgumentException(nameof(gotoKeyword)); 4234=> SyntaxFactory.GotoStatement(kind, attributeLists, SyntaxFactory.Token(SyntaxKind.GotoKeyword), caseOrDefaultKeyword, expression, SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 4239=> SyntaxFactory.GotoStatement(kind, default, SyntaxFactory.Token(SyntaxKind.GotoKeyword), default, expression, SyntaxFactory.Token(SyntaxKind.SemicolonToken));
Parser\LanguageParser.cs (5)
8319case SyntaxKind.GotoKeyword: 9215case SyntaxKind.GotoKeyword: 9949Debug.Assert(this.CurrentToken.Kind == SyntaxKind.GotoKeyword); 9951var @goto = this.EatToken(SyntaxKind.GotoKeyword); 11158case SyntaxKind.GotoKeyword:
Syntax\SyntaxKindFacts.cs (2)
955return SyntaxKind.GotoKeyword; 1654case SyntaxKind.GotoKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2159return token.Kind() is SyntaxKind.GotoKeyword or SyntaxKind.BreakKeyword or SyntaxKind.ContinueKeyword &&
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\KeywordRecommenders\CaseKeywordRecommender.cs (1)
25if (token.Kind() == SyntaxKind.GotoKeyword &&
Completion\KeywordRecommenders\GotoKeywordRecommender.cs (1)
10internal sealed class GotoKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.GotoKeyword)
GoToDefinition\CSharpGoToDefinitionSymbolService.cs (1)
61case SyntaxKind.GotoKeyword:
Highlighting\KeywordHighlighters\SwitchStatementHighlighter.cs (1)
33or SyntaxKind.GotoKeyword
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Classification\ClassificationHelpers.cs (1)
83case SyntaxKind.GotoKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2159return token.Kind() is SyntaxKind.GotoKeyword or SyntaxKind.BreakKeyword or SyntaxKind.ContinueKeyword &&
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\NativeCSharpTokenizer.cs (1)
99CSharpSyntaxKind.GotoKeyword,
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2159return token.Kind() is SyntaxKind.GotoKeyword or SyntaxKind.BreakKeyword or SyntaxKind.ContinueKeyword &&