2 types derived from BoundSwitchExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
4942
internal sealed partial class BoundUnconvertedSwitchExpression :
BoundSwitchExpression
4970
internal sealed partial class BoundConvertedSwitchExpression :
BoundSwitchExpression
23 references to BoundSwitchExpression
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (3)
4755
var
switchExpr = (
BoundSwitchExpression
)expr;
5515
foreach (var arm in ((
BoundSwitchExpression
)expr).SwitchArms)
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
155
private BoundNode VisitSwitchExpression(
BoundSwitchExpression
node)
FlowAnalysis\NullableWalker_Patterns.cs (4)
879
private void VisitSwitchExpressionCore(
BoundSwitchExpression
node, bool inferType)
969
|| node is
BoundSwitchExpression
{ SwitchArms: { Length: 0 } });
988
BoundSwitchExpression
node,
1033
BoundSwitchExpression
node,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (15)
Semantics\PatternMatchingTestBase.cs (1)
464
SwitchExpressionSyntax n => ((
BoundSwitchExpression
)binder.BindExpression(n, BindingDiagnosticBag.Discarded)).ReachabilityDecisionDag,
Semantics\PatternMatchingTests4.cs (14)
4277
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4324
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4406
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4495
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4584
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4666
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4750
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);