3 references to SwitchCase
System.Linq.Expressions (3)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
684
cases.UncheckedAdd(Expression.
SwitchCase
(node.Cases[i].Body, new TrueReadOnlyCollection<Expression>(Utils.Constant(i))));
System\Linq\Expressions\SwitchCase.cs (2)
60
return Expression.
SwitchCase
(body, testValues!);
74
return
SwitchCase
(body, (IEnumerable<Expression>)testValues);