20 references to GotoKeyword
Microsoft.CodeAnalysis.CSharp (7)
Parser\LanguageParser.cs (5)
7976
case SyntaxKind.
GotoKeyword
:
8792
case SyntaxKind.
GotoKeyword
:
9505
Debug.Assert(this.CurrentToken.Kind == SyntaxKind.
GotoKeyword
);
9507
var @goto = this.EatToken(SyntaxKind.
GotoKeyword
);
10589
case SyntaxKind.
GotoKeyword
:
Syntax\SyntaxKindFacts.cs (2)
923
return SyntaxKind.
GotoKeyword
;
1569
case SyntaxKind.
GotoKeyword
:
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\KeywordRecommenders\CaseKeywordRecommender.cs (1)
30
if (token.Kind() == SyntaxKind.
GotoKeyword
&&
Completion\KeywordRecommenders\GotoKeywordRecommender.cs (1)
13
: base(SyntaxKind.
GotoKeyword
)
GoToDefinition\CSharpGoToDefinitionSymbolService.cs (1)
72
case SyntaxKind.
GotoKeyword
:
Highlighting\KeywordHighlighters\SwitchStatementHighlighter.cs (1)
32
or SyntaxKind.
GotoKeyword
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Generated\Syntax.Test.xml.Generated.cs (4)
371
=> InternalSyntaxFactory.GotoStatement(SyntaxKind.GotoStatement, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), InternalSyntaxFactory.Token(SyntaxKind.
GotoKeyword
), null, null, InternalSyntaxFactory.Token(SyntaxKind.SemicolonToken));
2160
Assert.Equal(SyntaxKind.
GotoKeyword
, node.GotoKeyword.Kind);
10548
=> SyntaxFactory.GotoStatement(SyntaxKind.GotoStatement, new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.
GotoKeyword
), default(SyntaxToken), default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.SemicolonToken));
12337
Assert.Equal(SyntaxKind.
GotoKeyword
, node.GotoKeyword.Kind());
Parsing\StatementAttributeParsingTests.cs (1)
288
N(SyntaxKind.
GotoKeyword
);
Parsing\StatementParsingTests.cs (3)
1038
Assert.Equal(SyntaxKind.
GotoKeyword
, gs.GotoKeyword.Kind());
1060
Assert.Equal(SyntaxKind.
GotoKeyword
, gs.GotoKeyword.Kind());
1084
Assert.Equal(SyntaxKind.
GotoKeyword
, gs.GotoKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\ClassificationHelpers.cs (1)
86
case SyntaxKind.
GotoKeyword
: