4 references to Switch
System.Linq.Expressions (4)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
744
Expression.
Switch
(node.Type, switchIndex, node.DefaultBody, null, cases.ToReadOnly())
System\Linq\Expressions\SwitchExpression.cs (3)
99
return Expression.
Switch
(Type, switchValue, defaultBody, Comparison, cases);
152
return
Switch
(type, switchValue, defaultBody, comparison, (IEnumerable<SwitchCase>?)cases);
165
return
Switch
(null, switchValue, defaultBody, comparison, cases);