2 types derived from BoundSwitchExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
5000
internal sealed partial class BoundUnconvertedSwitchExpression :
BoundSwitchExpression
5028
internal sealed partial class BoundConvertedSwitchExpression :
BoundSwitchExpression
24 references to BoundSwitchExpression
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (3)
4773
var
switchExpr = (
BoundSwitchExpression
)expr;
5528
foreach (var arm in ((
BoundSwitchExpression
)expr).SwitchArms)
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
155
private BoundNode VisitSwitchExpression(
BoundSwitchExpression
node)
FlowAnalysis\NullableWalker_Patterns.cs (4)
977
private void VisitSwitchExpressionCore(
BoundSwitchExpression
node, bool inferType)
1067
|| node is
BoundSwitchExpression
{ SwitchArms: { Length: 0 } });
1086
BoundSwitchExpression
node,
1131
BoundSwitchExpression
node,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Semantics\PatternMatchingTests4.cs (14)
4281
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4328
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4410
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4499
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4588
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4670
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
4754
var
boundSwitch = (
BoundSwitchExpression
)binder.BindExpression(@switch, BindingDiagnosticBag.Discarded);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
3316
var
b = (
BoundSwitchExpression
)binder.BindExpression(n, BindingDiagnosticBag.Discarded);