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