2 types derived from BoundSwitchExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
4963internal sealed partial class BoundUnconvertedSwitchExpression : BoundSwitchExpression 4991internal sealed partial class BoundConvertedSwitchExpression : BoundSwitchExpression
23 references to BoundSwitchExpression
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (3)
4746var switchExpr = (BoundSwitchExpression)expr; 5490foreach (var arm in ((BoundSwitchExpression)expr).SwitchArms)
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
155private BoundNode VisitSwitchExpression(BoundSwitchExpression node)
FlowAnalysis\NullableWalker_Patterns.cs (4)
879private void VisitSwitchExpressionCore(BoundSwitchExpression node, bool inferType) 969|| node is BoundSwitchExpression { SwitchArms: { Length: 0 } }); 988BoundSwitchExpression node, 1033BoundSwitchExpression node,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (15)
Semantics\PatternMatchingTestBase.cs (1)
464SwitchExpressionSyntax n => ((BoundSwitchExpression)binder.BindExpression(n, BindingDiagnosticBag.Discarded)).ReachabilityDecisionDag,
Semantics\PatternMatchingTests4.cs (14)
4281var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4328var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4410var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4499var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4588var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4670var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded); 4754var boundSwitch = (BoundSwitchExpression)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);