2 instantiations of BoundWhileStatement
Microsoft.CodeAnalysis.CSharp (2)
Binder\WhileBinder.cs (1)
35return new BoundWhileStatement(node, this.Locals, condition, body, this.BreakLabel, this.ContinueLabel);
Generated\BoundNodes.xml.Generated.cs (1)
3873var result = new BoundWhileStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.HasErrors);
32 references to BoundWhileStatement
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder_Statements.cs (1)
2663internal virtual BoundWhileStatement BindWhileParts(BindingDiagnosticBag diagnostics, Binder originalBinder)
Binder\BuckStopsHereBinder.cs (1)
228internal override BoundWhileStatement BindWhileParts(BindingDiagnosticBag diagnostics, Binder originalBinder)
Binder\RefSafetyAnalysis.cs (1)
338public override BoundNode? VisitWhileStatement(BoundWhileStatement node)
Binder\WhileBinder.cs (1)
28internal override BoundWhileStatement BindWhileParts(BindingDiagnosticBag diagnostics, Binder originalBinder)
BoundTree\BoundNode.cs (1)
579public override BoundNode? VisitWhileStatement(BoundWhileStatement node)
FlowAnalysis\AbstractFlowPass.cs (1)
2159public override BoundNode VisitWhileStatement(BoundWhileStatement node)
FlowAnalysis\DefiniteAssignment.cs (1)
2085public override BoundNode VisitWhileStatement(BoundWhileStatement node)
FlowAnalysis\ExitPointsWalker.cs (1)
106public override BoundNode VisitWhileStatement(BoundWhileStatement node)
FlowAnalysis\NullableWalker.cs (1)
3178public override BoundNode? VisitWhileStatement(BoundWhileStatement node)
Generated\BoundNodes.xml.Generated.cs (9)
3869public BoundWhileStatement Update(ImmutableArray<LocalSymbol> locals, BoundExpression condition, BoundStatement body, GeneratedLabelSymbol breakLabel, GeneratedLabelSymbol continueLabel) 3873var result = new BoundWhileStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.HasErrors); 8713return VisitWhileStatement((BoundWhileStatement)node, arg); 9069public virtual R VisitWhileStatement(BoundWhileStatement node, A arg) => this.DefaultVisit(node, arg); 9297public virtual BoundNode? VisitWhileStatement(BoundWhileStatement node) => this.DefaultVisit(node); 9805public override BoundNode? VisitWhileStatement(BoundWhileStatement node) 10978public override BoundNode? VisitWhileStatement(BoundWhileStatement node) 12943public override BoundNode? VisitWhileStatement(BoundWhileStatement node) 15287public override TreeDumperNode VisitWhileStatement(BoundWhileStatement node, object? arg) => new TreeDumperNode("whileStatement", null, new TreeDumperNode[]
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (2)
379public override BoundStatement InstrumentWhileStatementConditionalGotoStartOrBreak(BoundWhileStatement original, BoundStatement ifConditionGotoStart) 533syntaxForSpan = ((BoundWhileStatement)statement).Condition.Syntax;
Lowering\Instrumentation\CompoundInstrumenter.cs (2)
197public override BoundExpression InstrumentWhileStatementCondition(BoundWhileStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory) 202public override BoundStatement InstrumentWhileStatementConditionalGotoStartOrBreak(BoundWhileStatement original, BoundStatement ifConditionGotoStart)
Lowering\Instrumentation\DebugInfoInjector.cs (2)
189public override BoundExpression InstrumentWhileStatementCondition(BoundWhileStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory) 206public override BoundStatement InstrumentWhileStatementConditionalGotoStartOrBreak(BoundWhileStatement original, BoundStatement ifConditionGotoStart)
Lowering\Instrumentation\Instrumenter.cs (2)
119public virtual BoundExpression InstrumentWhileStatementCondition(BoundWhileStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory) 134public virtual BoundStatement InstrumentWhileStatementConditionalGotoStartOrBreak(BoundWhileStatement original, BoundStatement ifConditionGotoStart)
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (3)
16public override BoundNode VisitWhileStatement(BoundWhileStatement node) 75ifConditionGotoStart = Instrumenter.InstrumentWhileStatementConditionalGotoStartOrBreak((BoundWhileStatement)loop, ifConditionGotoStart); 102BoundWhileStatement loop,
Lowering\MethodToClassRewriter.cs (1)
192public override BoundNode VisitWhileStatement(BoundWhileStatement node)
Operations\CSharpOperationFactory.cs (2)
173return CreateBoundWhileStatementOperation((BoundWhileStatement)boundNode); 1737private IWhileLoopOperation CreateBoundWhileStatementOperation(BoundWhileStatement boundWhileStatement)