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