2 instantiations of BoundForStatement
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForLoopBinder.cs (1)
129return new BoundForStatement(node,
Generated\BoundNodes.xml.Generated.cs (1)
4051var result = new BoundForStatement(this.Syntax, outerLocals, initializer, innerLocals, condition, increment, body, breakLabel, continueLabel, this.HasErrors);
36 references to BoundForStatement
Microsoft.CodeAnalysis.CSharp (36)
Binder\Binder_Statements.cs (2)
2828internal BoundForStatement BindFor(ForStatementSyntax node, BindingDiagnosticBag diagnostics) 2835internal virtual BoundForStatement BindForParts(BindingDiagnosticBag diagnostics, Binder originalBinder)
Binder\BuckStopsHereBinder.cs (1)
210internal override BoundForStatement BindForParts(BindingDiagnosticBag diagnostics, Binder originalBinder)
Binder\ForLoopBinder.cs (3)
63internal override BoundForStatement BindForParts(BindingDiagnosticBag diagnostics, Binder originalBinder) 65BoundForStatement result = BindForParts(_syntax, originalBinder, diagnostics); 69private BoundForStatement BindForParts(ForStatementSyntax node, Binder originalBinder, BindingDiagnosticBag diagnostics)
Binder\RefSafetyAnalysis.cs (1)
393public override BoundNode? VisitForStatement(BoundForStatement node)
BoundTree\BoundNode.cs (1)
649public override BoundNode? VisitForStatement(BoundForStatement node)
FlowAnalysis\AbstractFlowPass.cs (1)
2864public override BoundNode VisitForStatement(BoundForStatement node)
FlowAnalysis\DefiniteAssignment.cs (1)
2187public override BoundNode VisitForStatement(BoundForStatement node)
FlowAnalysis\ExitPointsWalker.cs (1)
96public override BoundNode VisitForStatement(BoundForStatement node)
FlowAnalysis\NullableWalker.cs (1)
3584public override BoundNode? VisitForStatement(BoundForStatement node)
Generated\BoundNodes.xml.Generated.cs (9)
4047public BoundForStatement Update(ImmutableArray<LocalSymbol> outerLocals, BoundStatement? initializer, ImmutableArray<LocalSymbol> innerLocals, BoundExpression? condition, BoundStatement? increment, BoundStatement body, LabelSymbol breakLabel, LabelSymbol continueLabel) 4051var result = new BoundForStatement(this.Syntax, outerLocals, initializer, innerLocals, condition, increment, body, breakLabel, continueLabel, this.HasErrors); 9106return VisitForStatement((BoundForStatement)node, arg); 9474public virtual R VisitForStatement(BoundForStatement node, A arg) => this.DefaultVisit(node, arg); 9710public virtual BoundNode? VisitForStatement(BoundForStatement node) => this.DefaultVisit(node); 10237public override BoundNode? VisitForStatement(BoundForStatement node) 11515public override BoundNode? VisitForStatement(BoundForStatement node) 13628public override BoundNode? VisitForStatement(BoundForStatement node) 16060public override TreeDumperNode VisitForStatement(BoundForStatement node, object? arg) => new TreeDumperNode("forStatement", null, new TreeDumperNode[]
Lowering\Instrumentation\CompoundInstrumenter.cs (2)
119public override BoundStatement InstrumentForStatementConditionalGotoStartOrBreak(BoundForStatement original, BoundStatement branchBack) 129public override BoundExpression InstrumentForStatementCondition(BoundForStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
Lowering\Instrumentation\DebugInfoInjector.cs (2)
336public override BoundStatement InstrumentForStatementConditionalGotoStartOrBreak(BoundForStatement original, BoundStatement branchBack) 351public override BoundExpression InstrumentForStatementCondition(BoundForStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
Lowering\Instrumentation\Instrumenter.cs (2)
177public virtual BoundStatement InstrumentForStatementConditionalGotoStartOrBreak(BoundForStatement original, BoundStatement branchBack) 184public virtual BoundExpression InstrumentForStatementCondition(BoundForStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (2)
106public override BoundExpression InstrumentForStatementCondition(BoundForStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory) 109public override BoundStatement InstrumentForStatementConditionalGotoStartOrBreak(BoundForStatement original, BoundStatement branchBack)
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (3)
15public override BoundNode VisitForStatement(BoundForStatement node) 152branchBack = Instrumenter.InstrumentForStatementConditionalGotoStartOrBreak((BoundForStatement)original, branchBack); 173BoundForStatement node,
Lowering\MethodToClassRewriter.cs (1)
69public override BoundNode VisitForStatement(BoundForStatement node)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
600public override BoundNode VisitForStatement(BoundForStatement node)
Operations\CSharpOperationFactory.cs (2)
181return CreateBoundForStatementOperation((BoundForStatement)boundNode); 1863private IForLoopOperation CreateBoundForStatementOperation(BoundForStatement boundForStatement)