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