16 references to SemicolonToken
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
1867
=> node.Update(VisitList(node.AttributeLists), VisitToken(node.GotoKeyword), VisitToken(node.CaseOrDefaultKeyword), (ExpressionSyntax?)Visit(node.Expression), VisitToken(node.
SemicolonToken
));
Syntax.xml.Syntax.Generated.cs (5)
7090
if (attributeLists != this.AttributeLists || gotoKeyword != this.GotoKeyword || caseOrDefaultKeyword != this.CaseOrDefaultKeyword || expression != this.Expression || semicolonToken != this.
SemicolonToken
)
7101
public new GotoStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.GotoKeyword, this.CaseOrDefaultKeyword, this.Expression, this.
SemicolonToken
);
7102
public GotoStatementSyntax WithGotoKeyword(SyntaxToken gotoKeyword) => Update(this.AttributeLists, gotoKeyword, this.CaseOrDefaultKeyword, this.Expression, this.
SemicolonToken
);
7103
public GotoStatementSyntax WithCaseOrDefaultKeyword(SyntaxToken caseOrDefaultKeyword) => Update(this.AttributeLists, this.GotoKeyword, caseOrDefaultKeyword, this.Expression, this.
SemicolonToken
);
7104
public GotoStatementSyntax WithExpression(ExpressionSyntax? expression) => Update(this.AttributeLists, this.GotoKeyword, this.CaseOrDefaultKeyword, expression, this.
SemicolonToken
);
Syntax\LookupPosition.cs (1)
404
return ((GotoStatementSyntax)statement).
SemicolonToken
;
Microsoft.CodeAnalysis.CSharp.Features (1)
Highlighting\KeywordHighlighters\SwitchStatementHighlighter.cs (1)
81
spans.Add(EmptySpan(gotoStatement.
SemicolonToken
.Span.End));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Generated\Syntax.Test.xml.Generated.cs (2)
12535
Assert.Equal(SyntaxKind.SemicolonToken, node.
SemicolonToken
.Kind());
12536
var newNode = node.WithAttributeLists(node.AttributeLists).WithGotoKeyword(node.GotoKeyword).WithCaseOrDefaultKeyword(node.CaseOrDefaultKeyword).WithExpression(node.Expression).WithSemicolonToken(node.
SemicolonToken
);
Parsing\StatementParsingTests.cs (6)
1042
Assert.NotEqual(default, gs.
SemicolonToken
);
1043
Assert.False(gs.
SemicolonToken
.IsMissing);
1066
Assert.NotEqual(default, gs.
SemicolonToken
);
1067
Assert.False(gs.
SemicolonToken
.IsMissing);
1089
Assert.NotEqual(default, gs.
SemicolonToken
);
1090
Assert.False(gs.
SemicolonToken
.IsMissing);