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