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

◆ ElementInit() [1/2]

static ElementInit System.Linq.Expressions.Expression< TDelegate >.ElementInit ( MethodInfo addMethod,
IEnumerable< Expression< TDelegate > > arguments )
inlinestaticinherited

Definition at line 2465 of file Expression.cs.

2466 {
2470 RequiresCanRead(arguments2, "arguments");
2473 return new ElementInit(addMethod, arguments2);
2474 }
static void RequiresNotNull(object value, string paramName)
static void RequiresCanRead(IReadOnlyList< Expression > items, string paramName)
static ElementInit ElementInit(MethodInfo addMethod, params Expression[] arguments)
static void ValidateArgumentTypes(MethodBase method, ExpressionType nodeKind, ref ReadOnlyCollection< Expression > arguments, string methodParamName)
static void ValidateElementInitAddMethodInfo(MethodInfo addMethod, string paramName)

References System.Linq.Expressions.Expression< TDelegate >.ElementInit(), System.Linq.Expressions.Expression< TDelegate >.RequiresCanRead(), System.Dynamic.Utils.ContractUtils.RequiresNotNull(), System.Linq.Expressions.Expression< TDelegate >.ValidateArgumentTypes(), and System.Linq.Expressions.Expression< TDelegate >.ValidateElementInitAddMethodInfo().