Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SwitchCase() [1/2]

Definition at line 4718 of file Expression.cs.

4719 {
4720 ExpressionUtils.RequiresCanRead(body, "body");
4722 ContractUtils.RequiresNotEmpty(readOnlyCollection, "testValues");
4723 RequiresCanRead(readOnlyCollection, "testValues");
4724 return new SwitchCase(body, readOnlyCollection);
4725 }
static void RequiresCanRead(Expression expression, string paramName)
static SwitchCase SwitchCase(Expression body, params Expression[] testValues)
static void RequiresCanRead(IReadOnlyList< Expression > items, string paramName)

References System.Dynamic.Utils.ExpressionUtils.RequiresCanRead(), System.Linq.Expressions.Expression< TDelegate >.RequiresCanRead(), and System.Linq.Expressions.Expression< TDelegate >.SwitchCase().