2 types derived from BoundSwitchExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
4932internal sealed partial class BoundUnconvertedSwitchExpression : BoundSwitchExpression 4960internal sealed partial class BoundConvertedSwitchExpression : BoundSwitchExpression
23 references to BoundSwitchExpression
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (3)
4656var switchExpr = (BoundSwitchExpression)expr; 5486foreach (var arm in ((BoundSwitchExpression)expr).SwitchArms)
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
155private BoundNode VisitSwitchExpression(BoundSwitchExpression node)
FlowAnalysis\NullableWalker_Patterns.cs (4)
877private void VisitSwitchExpressionCore(BoundSwitchExpression node, bool inferType) 967|| node is BoundSwitchExpression { SwitchArms: { Length: 0 } }); 986BoundSwitchExpression node, 1031BoundSwitchExpression node,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (15)
Semantics\PatternMatchingTestBase.cs (1)
464SwitchExpressionSyntax n => ((BoundSwitchExpression)binder.BindExpression(n, BindingDiagnosticBag.Discarded)).ReachabilityDecisionDag,
Semantics\PatternMatchingTests4.cs (14)
4278var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4325var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4407var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4489var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4571var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4653var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4737var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);