2 instantiations of BoundIfStatement
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
2498BoundStatement result = new BoundIfStatement(node, condition, consequence, alternative);
Generated\BoundNodes.xml.Generated.cs (1)
3763var result = new BoundIfStatement(this.Syntax, condition, consequence, alternativeOpt, this.HasErrors);
22 references to BoundIfStatement
Microsoft.CodeAnalysis.CSharp (22)
BoundTree\BoundTreeVisitors.cs (1)
92return VisitIfStatement(node as BoundIfStatement, arg);
FlowAnalysis\AbstractFlowPass.cs (1)
1656public override BoundNode VisitIfStatement(BoundIfStatement node)
Generated\BoundNodes.xml.Generated.cs (8)
3759public BoundIfStatement Update(BoundExpression condition, BoundStatement consequence, BoundStatement? alternativeOpt) 3763var result = new BoundIfStatement(this.Syntax, condition, consequence, alternativeOpt, this.HasErrors); 8709return VisitIfStatement((BoundIfStatement)node, arg); 9067public virtual R VisitIfStatement(BoundIfStatement node, A arg) => this.DefaultVisit(node, arg); 9295public virtual BoundNode? VisitIfStatement(BoundIfStatement node) => this.DefaultVisit(node); 9792public override BoundNode? VisitIfStatement(BoundIfStatement node) 10965public override BoundNode? VisitIfStatement(BoundIfStatement node) 15269public override TreeDumperNode VisitIfStatement(BoundIfStatement node, object? arg) => new TreeDumperNode("ifStatement", null, new TreeDumperNode[]
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (2)
374public override BoundStatement InstrumentIfStatement(BoundIfStatement original, BoundStatement rewritten) 530syntaxForSpan = ((BoundIfStatement)statement).Condition.Syntax;
Lowering\Instrumentation\CompoundInstrumenter.cs (2)
132public override BoundStatement InstrumentIfStatement(BoundIfStatement original, BoundStatement rewritten) 137public override BoundExpression InstrumentIfStatementCondition(BoundIfStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
Lowering\Instrumentation\DebugInfoInjector.cs (2)
313public override BoundStatement InstrumentIfStatement(BoundIfStatement original, BoundStatement rewritten) 325public override BoundExpression InstrumentIfStatementCondition(BoundIfStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
Lowering\Instrumentation\Instrumenter.cs (2)
191public virtual BoundStatement InstrumentIfStatement(BoundIfStatement original, BoundStatement rewritten) 197public virtual BoundExpression InstrumentIfStatementCondition(BoundIfStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
Lowering\LocalRewriter\LocalRewriter.cs (1)
1043public override BoundNode? VisitIfStatement(BoundIfStatement node)
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (1)
16public override BoundNode VisitIfStatement(BoundIfStatement node)
Operations\CSharpOperationFactory.cs (2)
171return CreateBoundIfStatementOperation((BoundIfStatement)boundNode); 1724private IConditionalOperation CreateBoundIfStatementOperation(BoundIfStatement boundIfStatement)