9 references to CaseOrDefaultKeyword
Microsoft.CodeAnalysis.CSharp (7)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1879
=> node.Update(VisitList(node.AttributeLists), VisitToken(node.GotoKeyword), VisitToken(node.
CaseOrDefaultKeyword
), (ExpressionSyntax?)Visit(node.Expression), VisitToken(node.SemicolonToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
7136
if (attributeLists != this.AttributeLists || gotoKeyword != this.GotoKeyword || caseOrDefaultKeyword != this.
CaseOrDefaultKeyword
|| expression != this.Expression || semicolonToken != this.SemicolonToken)
7147
public new GotoStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.GotoKeyword, this.
CaseOrDefaultKeyword
, this.Expression, this.SemicolonToken);
7148
public GotoStatementSyntax WithGotoKeyword(SyntaxToken gotoKeyword) => Update(this.AttributeLists, gotoKeyword, this.
CaseOrDefaultKeyword
, this.Expression, this.SemicolonToken);
7150
public GotoStatementSyntax WithExpression(ExpressionSyntax? expression) => Update(this.AttributeLists, this.GotoKeyword, this.
CaseOrDefaultKeyword
, expression, this.SemicolonToken);
7151
public GotoStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.AttributeLists, this.GotoKeyword, this.
CaseOrDefaultKeyword
, this.Expression, semicolonToken);
Binder\SwitchBinder.cs (1)
550
var labelName = SyntaxFacts.GetText(node.
CaseOrDefaultKeyword
.Kind());
Microsoft.CodeAnalysis.CSharp.Features (2)
Highlighting\KeywordHighlighters\SwitchStatementHighlighter.cs (2)
76
var end = !gotoStatement.
CaseOrDefaultKeyword
.IsKind(SyntaxKind.None)
77
? gotoStatement.
CaseOrDefaultKeyword
.Span.End