2 types derived from BoundSwitchExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
4829internal sealed partial class BoundUnconvertedSwitchExpression : BoundSwitchExpression 4857internal sealed partial class BoundConvertedSwitchExpression : BoundSwitchExpression
23 references to BoundSwitchExpression
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (3)
3804var switchExpr = (BoundSwitchExpression)expr; 4276foreach (var arm in ((BoundSwitchExpression)expr).SwitchArms)
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
155private BoundNode VisitSwitchExpression(BoundSwitchExpression node)
FlowAnalysis\NullableWalker_Patterns.cs (4)
837private void VisitSwitchExpressionCore(BoundSwitchExpression node, bool inferType) 922|| node is BoundSwitchExpression { SwitchArms: { Length: 0 } }); 941BoundSwitchExpression node, 986BoundSwitchExpression node,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (15)
Semantics\PatternMatchingTestBase.cs (1)
456SwitchExpressionSyntax n => ((BoundSwitchExpression)binder.BindExpression(n, BindingDiagnosticBag.Discarded)).ReachabilityDecisionDag,
Semantics\PatternMatchingTests4.cs (14)
4227var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4274var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4356var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4438var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4520var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4602var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4686var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);