35 references to Invoke
System.Linq.Expressions (35)
System\Dynamic\Utils\ExpressionUtils.cs (3)
102
Debug.Assert(nodeKind == ExpressionType.
Invoke
|| nodeKind == ExpressionType.Call || nodeKind == ExpressionType.Dynamic || nodeKind == ExpressionType.New);
143
case ExpressionType.
Invoke
:
173
case ExpressionType.
Invoke
:
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (1)
104
case ExpressionType.
Invoke
:
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
90
case ExpressionType.
Invoke
:
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
3073
case ExpressionType.
Invoke
: CompileInvocationExpression(expr); break;
System\Linq\Expressions\InvocationExpression.cs (29)
36
public sealed override ExpressionType NodeType => ExpressionType.
Invoke
;
426
ParameterInfo[] pis = GetParametersForValidation(method, ExpressionType.
Invoke
);
428
ValidateArgumentCount(method, ExpressionType.
Invoke
, 0, pis);
462
ParameterInfo[] pis = GetParametersForValidation(method, ExpressionType.
Invoke
);
464
ValidateArgumentCount(method, ExpressionType.
Invoke
, 1, pis);
466
arg0 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg0, pis[0], nameof(expression), nameof(arg0));
502
ParameterInfo[] pis = GetParametersForValidation(method, ExpressionType.
Invoke
);
504
ValidateArgumentCount(method, ExpressionType.
Invoke
, 2, pis);
506
arg0 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg0, pis[0], nameof(expression), nameof(arg0));
507
arg1 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg1, pis[1], nameof(expression), nameof(arg1));
547
ParameterInfo[] pis = GetParametersForValidation(method, ExpressionType.
Invoke
);
549
ValidateArgumentCount(method, ExpressionType.
Invoke
, 3, pis);
551
arg0 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg0, pis[0], nameof(expression), nameof(arg0));
552
arg1 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg1, pis[1], nameof(expression), nameof(arg1));
553
arg2 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg2, pis[2], nameof(expression), nameof(arg2));
596
ParameterInfo[] pis = GetParametersForValidation(method, ExpressionType.
Invoke
);
598
ValidateArgumentCount(method, ExpressionType.
Invoke
, 4, pis);
600
arg0 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg0, pis[0], nameof(expression), nameof(arg0));
601
arg1 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg1, pis[1], nameof(expression), nameof(arg1));
602
arg2 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg2, pis[2], nameof(expression), nameof(arg2));
603
arg3 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg3, pis[3], nameof(expression), nameof(arg3));
649
ParameterInfo[] pis = GetParametersForValidation(method, ExpressionType.
Invoke
);
651
ValidateArgumentCount(method, ExpressionType.
Invoke
, 5, pis);
653
arg0 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg0, pis[0], nameof(expression), nameof(arg0));
654
arg1 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg1, pis[1], nameof(expression), nameof(arg1));
655
arg2 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg2, pis[2], nameof(expression), nameof(arg2));
656
arg3 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg3, pis[3], nameof(expression), nameof(arg3));
657
arg4 = ValidateOneArgument(method, ExpressionType.
Invoke
, arg4, pis[4], nameof(expression), nameof(arg4));
735
ValidateArgumentTypes(mi, ExpressionType.
Invoke
, ref args, nameof(expression));