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