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