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