12 references to ValidateOneArgument
System.Linq.Expressions (12)
System\Dynamic\Utils\ExpressionUtils.cs (1)
113
arg =
ValidateOneArgument
(method, nodeKind, arg, pi, methodParamName, nameof(arguments), i);
System\Linq\Expressions\DynamicExpression.cs (10)
902
ExpressionUtils.
ValidateOneArgument
(method, ExpressionType.Dynamic, arg0, parameters[1], nameof(delegateType), nameof(arg0));
932
ExpressionUtils.
ValidateOneArgument
(method, ExpressionType.Dynamic, arg0, parameters[1], nameof(delegateType), nameof(arg0));
934
ExpressionUtils.
ValidateOneArgument
(method, ExpressionType.Dynamic, arg1, parameters[2], nameof(delegateType), nameof(arg1));
965
ExpressionUtils.
ValidateOneArgument
(method, ExpressionType.Dynamic, arg0, parameters[1], nameof(delegateType), nameof(arg0));
967
ExpressionUtils.
ValidateOneArgument
(method, ExpressionType.Dynamic, arg1, parameters[2], nameof(delegateType), nameof(arg1));
969
ExpressionUtils.
ValidateOneArgument
(method, ExpressionType.Dynamic, arg2, parameters[3], nameof(delegateType), nameof(arg2));
1001
ExpressionUtils.
ValidateOneArgument
(method, ExpressionType.Dynamic, arg0, parameters[1], nameof(delegateType), nameof(arg0));
1003
ExpressionUtils.
ValidateOneArgument
(method, ExpressionType.Dynamic, arg1, parameters[2], nameof(delegateType), nameof(arg1));
1005
ExpressionUtils.
ValidateOneArgument
(method, ExpressionType.Dynamic, arg2, parameters[3], nameof(delegateType), nameof(arg2));
1007
ExpressionUtils.
ValidateOneArgument
(method, ExpressionType.Dynamic, arg3, parameters[4], nameof(delegateType), nameof(arg3));
System\Linq\Expressions\MethodCallExpression.cs (1)
1286
return ExpressionUtils.
ValidateOneArgument
(method, nodeKind, arg, pi, methodParamName, argumentParamName);