2 instantiations of BoundForStatement
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForLoopBinder.cs (1)
129return new BoundForStatement(node,
Generated\BoundNodes.xml.Generated.cs (1)
3915var result = new BoundForStatement(this.Syntax, outerLocals, initializer, innerLocals, condition, increment, body, breakLabel, continueLabel, this.HasErrors);
34 references to BoundForStatement
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder_Statements.cs (2)
2681internal BoundForStatement BindFor(ForStatementSyntax node, BindingDiagnosticBag diagnostics) 2688internal 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)
290public override BoundNode? VisitForStatement(BoundForStatement node)
BoundTree\BoundNode.cs (1)
587public override BoundNode? VisitForStatement(BoundForStatement node)
FlowAnalysis\AbstractFlowPass.cs (1)
2641public override BoundNode VisitForStatement(BoundForStatement node)
FlowAnalysis\DefiniteAssignment.cs (1)
2067public override BoundNode VisitForStatement(BoundForStatement node)
FlowAnalysis\ExitPointsWalker.cs (1)
96public override BoundNode VisitForStatement(BoundForStatement node)
FlowAnalysis\NullableWalker.cs (1)
3206public override BoundNode? VisitForStatement(BoundForStatement node)
Generated\BoundNodes.xml.Generated.cs (9)
3911public BoundForStatement Update(ImmutableArray<LocalSymbol> outerLocals, BoundStatement? initializer, ImmutableArray<LocalSymbol> innerLocals, BoundExpression? condition, BoundStatement? increment, BoundStatement body, GeneratedLabelSymbol breakLabel, GeneratedLabelSymbol continueLabel) 3915var result = new BoundForStatement(this.Syntax, outerLocals, initializer, innerLocals, condition, increment, body, breakLabel, continueLabel, this.HasErrors); 8715return VisitForStatement((BoundForStatement)node, arg); 9070public virtual R VisitForStatement(BoundForStatement node, A arg) => this.DefaultVisit(node, arg); 9298public virtual BoundNode? VisitForStatement(BoundForStatement node) => this.DefaultVisit(node); 9811public override BoundNode? VisitForStatement(BoundForStatement node) 10984public override BoundNode? VisitForStatement(BoundForStatement node) 12951public override BoundNode? VisitForStatement(BoundForStatement node) 15297public override TreeDumperNode VisitForStatement(BoundForStatement node, object? arg) => new TreeDumperNode("forStatement", null, new TreeDumperNode[]
Lowering\Instrumentation\CompoundInstrumenter.cs (2)
117public override BoundStatement InstrumentForStatementConditionalGotoStartOrBreak(BoundForStatement original, BoundStatement branchBack) 127public override BoundExpression InstrumentForStatementCondition(BoundForStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
Lowering\Instrumentation\DebugInfoInjector.cs (2)
291public override BoundStatement InstrumentForStatementConditionalGotoStartOrBreak(BoundForStatement original, BoundStatement branchBack) 306public override BoundExpression InstrumentForStatementCondition(BoundForStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
Lowering\Instrumentation\Instrumenter.cs (2)
176public virtual BoundStatement InstrumentForStatementConditionalGotoStartOrBreak(BoundForStatement original, BoundStatement branchBack) 183public virtual BoundExpression InstrumentForStatementCondition(BoundForStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (3)
16public override BoundNode VisitForStatement(BoundForStatement node) 153branchBack = Instrumenter.InstrumentForStatementConditionalGotoStartOrBreak((BoundForStatement)original, branchBack); 170BoundForStatement node,
Lowering\MethodToClassRewriter.cs (1)
173public override BoundNode VisitForStatement(BoundForStatement node)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
773public override BoundNode VisitForStatement(BoundForStatement node)
Operations\CSharpOperationFactory.cs (2)
177return CreateBoundForStatementOperation((BoundForStatement)boundNode); 1765private IForLoopOperation CreateBoundForStatementOperation(BoundForStatement boundForStatement)