12 references to BreakKeyword
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); 7154public BreakStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.AttributeLists, this.BreakKeyword, semicolonToken);
Syntax\LookupPosition.cs (1)
318return ((BreakStatementSyntax)statement).BreakKeyword;
Microsoft.CodeAnalysis.CSharp.Features (2)
Highlighting\KeywordHighlighters\LoopHighlighter.cs (1)
86spans.Add(breakStatement.BreakKeyword.Span);
Highlighting\KeywordHighlighters\SwitchStatementHighlighter.cs (1)
64spans.Add(breakStatement.BreakKeyword.Span);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (2)
12546Assert.Equal(SyntaxKind.BreakKeyword, node.BreakKeyword.Kind()); 12548var newNode = node.WithAttributeLists(node.AttributeLists).WithBreakKeyword(node.BreakKeyword).WithSemicolonToken(node.SemicolonToken);
Parsing\StatementParsingTests.cs (3)
998Assert.NotEqual(default, b.BreakKeyword); 999Assert.False(b.BreakKeyword.IsMissing); 1000Assert.Equal(SyntaxKind.BreakKeyword, b.BreakKeyword.Kind());