3 instantiations of BoundSwitchDispatch
Microsoft.CodeAnalysis.CSharp (3)
Generated\BoundNodes.xml.Generated.cs (1)
3842
var result = new
BoundSwitchDispatch
(this.Syntax, expression, cases, defaultLabel, lengthBasedStringSwitchDataOpt, this.HasErrors);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
780
var dispatch = new
BoundSwitchDispatch
(node.Syntax, input, node.Cases, defaultLabel, lengthBasedDispatchOpt);
806
var dispatch = new
BoundSwitchDispatch
(node.Syntax, input, cases, defaultLabel, lengthBasedStringSwitchDataOpt: null);
17 references to BoundSwitchDispatch
Microsoft.CodeAnalysis.CSharp (17)
CodeGen\EmitStatement.cs (3)
92
EmitSwitchDispatch((
BoundSwitchDispatch
)statement);
1229
private void EmitSwitchDispatch(
BoundSwitchDispatch
dispatch)
1974
public override BoundNode VisitSwitchDispatch(
BoundSwitchDispatch
node)
CodeGen\Optimizer.cs (1)
1418
public override BoundNode VisitSwitchDispatch(
BoundSwitchDispatch
node)
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
131
public override BoundNode VisitSwitchDispatch(
BoundSwitchDispatch
node)
Generated\BoundNodes.xml.Generated.cs (8)
3838
public
BoundSwitchDispatch
Update(BoundExpression expression, ImmutableArray<(ConstantValue value, LabelSymbol label)> cases, LabelSymbol defaultLabel, LengthBasedStringSwitchData? lengthBasedStringSwitchDataOpt)
3842
var
result = new BoundSwitchDispatch(this.Syntax, expression, cases, defaultLabel, lengthBasedStringSwitchDataOpt, this.HasErrors);
9032
return VisitSwitchDispatch((
BoundSwitchDispatch
)node, arg);
9404
public virtual R VisitSwitchDispatch(
BoundSwitchDispatch
node, A arg) => this.DefaultVisit(node, arg);
9640
public virtual BoundNode? VisitSwitchDispatch(
BoundSwitchDispatch
node) => this.DefaultVisit(node);
10145
public override BoundNode? VisitSwitchDispatch(
BoundSwitchDispatch
node)
11356
public override BoundNode? VisitSwitchDispatch(
BoundSwitchDispatch
node)
15821
public override TreeDumperNode VisitSwitchDispatch(
BoundSwitchDispatch
node, object? arg) => new TreeDumperNode("switchDispatch", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
780
var
dispatch = new BoundSwitchDispatch(node.Syntax, input, node.Cases, defaultLabel, lengthBasedDispatchOpt);
806
var
dispatch = new BoundSwitchDispatch(node.Syntax, input, cases, defaultLabel, lengthBasedStringSwitchDataOpt: null);
Lowering\SpillSequenceSpiller.cs (1)
663
public override BoundNode VisitSwitchDispatch(
BoundSwitchDispatch
node)
Lowering\UnmatchedGotoFinder.cs (1)
78
public override BoundNode VisitSwitchDispatch(
BoundSwitchDispatch
node)