21 references to GotoKeyword
Microsoft.CodeAnalysis.CSharp (12)
_generated\0\Syntax.xml.Main.Generated.cs (3)
4227if (gotoKeyword.Kind() != SyntaxKind.GotoKeyword) throw new ArgumentException(nameof(gotoKeyword)); 4241=> SyntaxFactory.GotoStatement(kind, attributeLists, SyntaxFactory.Token(SyntaxKind.GotoKeyword), caseOrDefaultKeyword, expression, SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 4246=> SyntaxFactory.GotoStatement(kind, default, SyntaxFactory.Token(SyntaxKind.GotoKeyword), default, expression, SyntaxFactory.Token(SyntaxKind.SemicolonToken));
_generated\1\Syntax.xml.Internal.Generated.cs (2)
31336if (gotoKeyword.Kind != SyntaxKind.GotoKeyword) throw new ArgumentException(nameof(gotoKeyword)); 36758if (gotoKeyword.Kind != SyntaxKind.GotoKeyword) throw new ArgumentException(nameof(gotoKeyword));
Parser\LanguageParser.cs (5)
8383case SyntaxKind.GotoKeyword: 9279case SyntaxKind.GotoKeyword: 10013Debug.Assert(this.CurrentToken.Kind == SyntaxKind.GotoKeyword); 10015var @goto = this.EatToken(SyntaxKind.GotoKeyword); 11222case 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 &&