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)
3984var result = new BoundWhileStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.HasErrors);
33 references to BoundWhileStatement
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder_Statements.cs (1)
2801internal virtual BoundWhileStatement BindWhileParts(BindingDiagnosticBag diagnostics, Binder originalBinder)
Binder\BuckStopsHereBinder.cs (1)
228internal override BoundWhileStatement BindWhileParts(BindingDiagnosticBag diagnostics, Binder originalBinder)
Binder\RefSafetyAnalysis.cs (1)
426public override BoundNode? VisitWhileStatement(BoundWhileStatement node)
Binder\WhileBinder.cs (1)
28internal override BoundWhileStatement BindWhileParts(BindingDiagnosticBag diagnostics, Binder originalBinder)
BoundTree\BoundNode.cs (1)
641public override BoundNode? VisitWhileStatement(BoundWhileStatement node)
FlowAnalysis\AbstractFlowPass.cs (1)
2339public override BoundNode VisitWhileStatement(BoundWhileStatement node)
FlowAnalysis\DefiniteAssignment.cs (1)
2254public override BoundNode VisitWhileStatement(BoundWhileStatement node)
FlowAnalysis\ExitPointsWalker.cs (1)
106public override BoundNode VisitWhileStatement(BoundWhileStatement node)
FlowAnalysis\NullableWalker.cs (1)
3561public override BoundNode? VisitWhileStatement(BoundWhileStatement node)
Generated\BoundNodes.xml.Generated.cs (9)
3980public BoundWhileStatement Update(ImmutableArray<LocalSymbol> locals, BoundExpression condition, BoundStatement body, LabelSymbol breakLabel, LabelSymbol continueLabel) 3984var result = new BoundWhileStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.HasErrors); 9077return VisitWhileStatement((BoundWhileStatement)node, arg); 9446public virtual R VisitWhileStatement(BoundWhileStatement node, A arg) => this.DefaultVisit(node, arg); 9682public virtual BoundNode? VisitWhileStatement(BoundWhileStatement node) => this.DefaultVisit(node); 10204public override BoundNode? VisitWhileStatement(BoundWhileStatement node) 11479public override BoundNode? VisitWhileStatement(BoundWhileStatement node) 13589public override BoundNode? VisitWhileStatement(BoundWhileStatement node) 16029public 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)
208public override BoundExpression InstrumentWhileStatementCondition(BoundWhileStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory) 213public override BoundStatement InstrumentWhileStatementConditionalGotoStartOrBreak(BoundWhileStatement original, BoundStatement ifConditionGotoStart)
Lowering\Instrumentation\DebugInfoInjector.cs (2)
234public override BoundExpression InstrumentWhileStatementCondition(BoundWhileStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory) 251public override BoundStatement InstrumentWhileStatementConditionalGotoStartOrBreak(BoundWhileStatement original, BoundStatement ifConditionGotoStart)
Lowering\Instrumentation\Instrumenter.cs (2)
120public virtual BoundExpression InstrumentWhileStatementCondition(BoundWhileStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory) 135public virtual BoundStatement InstrumentWhileStatementConditionalGotoStartOrBreak(BoundWhileStatement original, BoundStatement ifConditionGotoStart)
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (1)
100public override BoundExpression InstrumentWhileStatementCondition(BoundWhileStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (3)
16public override BoundNode VisitWhileStatement(BoundWhileStatement node) 75ifConditionGotoStart = Instrumenter.InstrumentWhileStatementConditionalGotoStartOrBreak((BoundWhileStatement)loop, ifConditionGotoStart); 107BoundWhileStatement loop,
Lowering\MethodToClassRewriter.cs (1)
79public override BoundNode VisitWhileStatement(BoundWhileStatement node)
Operations\CSharpOperationFactory.cs (2)
177return CreateBoundWhileStatementOperation((BoundWhileStatement)boundNode); 1844private IWhileLoopOperation CreateBoundWhileStatementOperation(BoundWhileStatement boundWhileStatement)