3 instantiations of BoundSwitchDispatch
Microsoft.CodeAnalysis.CSharp (3)
Generated\BoundNodes.xml.Generated.cs (1)
3842var 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)
3838public BoundSwitchDispatch Update(BoundExpression expression, ImmutableArray<(ConstantValue value, LabelSymbol label)> cases, LabelSymbol defaultLabel, LengthBasedStringSwitchData? lengthBasedStringSwitchDataOpt) 3842var result = new BoundSwitchDispatch(this.Syntax, expression, cases, defaultLabel, lengthBasedStringSwitchDataOpt, this.HasErrors); 9032return VisitSwitchDispatch((BoundSwitchDispatch)node, arg); 9404public virtual R VisitSwitchDispatch(BoundSwitchDispatch node, A arg) => this.DefaultVisit(node, arg); 9640public virtual BoundNode? VisitSwitchDispatch(BoundSwitchDispatch node) => this.DefaultVisit(node); 10145public override BoundNode? VisitSwitchDispatch(BoundSwitchDispatch node) 11356public override BoundNode? VisitSwitchDispatch(BoundSwitchDispatch node) 15821public 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)