22 references to BoundLabelStatement
Microsoft.CodeAnalysis.CSharp (22)
Compiler\MethodBodySynthesizer.cs (1)
448
BoundStatement loopStart = new
BoundLabelStatement
(syntax,
Lowering\LocalRewriter\LocalRewriter_DoStatement.cs (6)
58
new
BoundLabelStatement
(syntax, startLabel),
60
new
BoundLabelStatement
(syntax, node.ContinueLabel),
62
new
BoundLabelStatement
(syntax, node.BreakLabel));
66
new
BoundLabelStatement
(syntax, startLabel),
70
new
BoundLabelStatement
(syntax, node.ContinueLabel),
72
new
BoundLabelStatement
(syntax, node.BreakLabel));
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (7)
119
statementBuilder.Add(new
BoundLabelStatement
(syntax, startLabel));
125
statementBuilder.Add(new
BoundLabelStatement
(syntax, continueLabel));
133
statementBuilder.Add(new
BoundLabelStatement
(syntax, endLabel));
166
statementBuilder.Add(new
BoundLabelStatement
(syntax, breakLabel));
227
BoundStatement startLabelStatement = new
BoundLabelStatement
(syntax, startLabel);
256
blockBuilder.Add(new
BoundLabelStatement
(syntax, node.ContinueLabel));
268
statementBuilder.Add(new
BoundLabelStatement
(syntax, node.BreakLabel));
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (1)
140
builder.Add(new
BoundLabelStatement
(syntax, afterif));
Lowering\LocalRewriter\LocalRewriter_LabeledStatement.cs (1)
24
BoundStatement labelStatement = new
BoundLabelStatement
(node.Syntax, node.Label);
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (5)
99
new
BoundLabelStatement
(syntax, startLabel),
101
new
BoundLabelStatement
(syntax, continueLabel),
103
new
BoundLabelStatement
(syntax, breakLabel));
137
BoundStatement continueLabelStatement = new
BoundLabelStatement
(syntax, continueLabel);
154
new
BoundLabelStatement
(syntax, breakLabel));
Lowering\SyntheticBoundNodeFactory.cs (1)
1122
return new
BoundLabelStatement
(Syntax, label) { WasCompilerGenerated = true };