1 instantiation of BoundSwitchStatement
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3805var result = new BoundSwitchStatement(this.Syntax, expression, innerLocals, innerLocalFunctions, switchSections, reachabilityDecisionDag, defaultLabel, breakLabel, this.HasErrors);
31 references to BoundSwitchStatement
Microsoft.CodeAnalysis.CSharp (31)
Binder\DecisionDagBuilder.cs (1)
49/// cref="BoundSwitchStatement"/> and <see cref="BoundUnconvertedSwitchExpression"/>) and is used for semantic
Binder\RefSafetyAnalysis.cs (1)
391public override BoundNode? VisitSwitchStatement(BoundSwitchStatement node)
BoundTree\BoundNode.cs (1)
609public override BoundNode? VisitSwitchStatement(BoundSwitchStatement node)
BoundTree\BoundNode_Source.cs (1)
279case BoundSwitchStatement switchStatement:
FlowAnalysis\AbstractFlowPass_Switch.cs (3)
18public override BoundNode VisitSwitchStatement(BoundSwitchStatement node) 39protected virtual TLocalState VisitSwitchStatementDispatch(BoundSwitchStatement node) 86private bool IsTraditionalSwitch(BoundSwitchStatement node)
FlowAnalysis\ControlFlowPass.cs (2)
139if (node is BoundSwitchStatement) continue; 385public override BoundNode VisitSwitchStatement(BoundSwitchStatement node)
FlowAnalysis\DefiniteAssignment.cs (1)
2208public override BoundNode VisitSwitchStatement(BoundSwitchStatement node)
FlowAnalysis\NullableWalker_Patterns.cs (1)
273protected override LocalState VisitSwitchStatementDispatch(BoundSwitchStatement node)
Generated\BoundNodes.xml.Generated.cs (9)
3801public BoundSwitchStatement Update(BoundExpression expression, ImmutableArray<LocalSymbol> innerLocals, ImmutableArray<LocalFunctionSymbol> innerLocalFunctions, ImmutableArray<BoundSwitchSection> switchSections, BoundDecisionDag reachabilityDecisionDag, BoundSwitchLabel? defaultLabel, GeneratedLabelSymbol breakLabel) 3805var result = new BoundSwitchStatement(this.Syntax, expression, innerLocals, innerLocalFunctions, switchSections, reachabilityDecisionDag, defaultLabel, breakLabel, this.HasErrors); 9029return VisitSwitchStatement((BoundSwitchStatement)node, arg); 9402public virtual R VisitSwitchStatement(BoundSwitchStatement node, A arg) => this.DefaultVisit(node, arg); 9638public virtual BoundNode? VisitSwitchStatement(BoundSwitchStatement node) => this.DefaultVisit(node); 10137public override BoundNode? VisitSwitchStatement(BoundSwitchStatement node) 11347public override BoundNode? VisitSwitchStatement(BoundSwitchStatement node) 13391public override BoundNode? VisitSwitchStatement(BoundSwitchStatement node) 15808public override TreeDumperNode VisitSwitchStatement(BoundSwitchStatement node, object? arg) => new TreeDumperNode("switchStatement", null, new TreeDumperNode[]
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (2)
432public override BoundStatement InstrumentSwitchStatement(BoundSwitchStatement original, BoundStatement rewritten) 554syntaxForSpan = ((BoundSwitchStatement)statement).Expression.Syntax;
Lowering\Instrumentation\CompoundInstrumenter.cs (1)
193public override BoundStatement InstrumentSwitchStatement(BoundSwitchStatement original, BoundStatement rewritten)
Lowering\Instrumentation\DebugInfoInjector.cs (1)
423public override BoundStatement InstrumentSwitchStatement(BoundSwitchStatement original, BoundStatement rewritten)
Lowering\Instrumentation\Instrumenter.cs (1)
268public virtual BoundStatement InstrumentSwitchStatement(BoundSwitchStatement original, BoundStatement rewritten)
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (4)
16public override BoundNode VisitSwitchStatement(BoundSwitchStatement node) 28public static BoundStatement Rewrite(LocalRewriter localRewriter, BoundSwitchStatement node) 64private SwitchStatementLocalRewriter(BoundSwitchStatement node, LocalRewriter localRewriter) 71private BoundStatement LowerSwitchStatement(BoundSwitchStatement node)
Operations\CSharpOperationFactory.cs (2)
247return CreateBoundSwitchStatementOperation((BoundSwitchStatement)boundNode); 2684private ISwitchOperation CreateBoundSwitchStatementOperation(BoundSwitchStatement boundSwitchStatement)