12 references to SemicolonToken
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Main.Generated.cs (1)
1870=> node.Update(VisitList(node.AttributeLists), VisitToken(node.BreakKeyword), VisitToken(node.SemicolonToken));
Syntax.xml.Syntax.Generated.cs (3)
7141if (attributeLists != this.AttributeLists || breakKeyword != this.BreakKeyword || semicolonToken != this.SemicolonToken) 7152public new BreakStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.BreakKeyword, this.SemicolonToken); 7153public BreakStatementSyntax WithBreakKeyword(SyntaxToken breakKeyword) => Update(this.AttributeLists, breakKeyword, this.SemicolonToken);
Syntax\LookupPosition.cs (1)
380return ((BreakStatementSyntax)statement).SemicolonToken;
Microsoft.CodeAnalysis.CSharp.Features (3)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
447return returnStatement.WithSemicolonToken(breakStatement.SemicolonToken);
Highlighting\KeywordHighlighters\LoopHighlighter.cs (1)
87spans.Add(EmptySpan(breakStatement.SemicolonToken.Span.End));
Highlighting\KeywordHighlighters\SwitchStatementHighlighter.cs (1)
65spans.Add(EmptySpan(breakStatement.SemicolonToken.Span.End));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (2)
12547Assert.Equal(SyntaxKind.SemicolonToken, node.SemicolonToken.Kind()); 12548var newNode = node.WithAttributeLists(node.AttributeLists).WithBreakKeyword(node.BreakKeyword).WithSemicolonToken(node.SemicolonToken);
Parsing\StatementParsingTests.cs (2)
1001Assert.NotEqual(default, b.SemicolonToken); 1002Assert.False(b.SemicolonToken.IsMissing);