21 references to GetInvokeMethod
System.Linq.Expressions (21)
System\Dynamic\Utils\DelegateHelpers.cs (1)
205MethodInfo delegateInvokeMethod = delegateType.GetInvokeMethod();
System\Linq\Expressions\BinaryExpression.cs (2)
1394MethodInfo method = delegateType.GetInvokeMethod(); 1550MethodInfo mi = delegateType.GetInvokeMethod();
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (3)
192EmitMethodCall(expr, expr.Type.GetInvokeMethod(), node, CompilationFlags.EmitAsNoTail | CompilationFlags.EmitExpressionStart); 204List<WriteBack>? wb = EmitArguments(lambda.Type.GetInvokeMethod(), invoke); 596MethodInfo invoke = node.DelegateType.GetInvokeMethod();
System\Linq\Expressions\Compiler\LambdaCompiler.Logical.cs (2)
146_ilg.Emit(OpCodes.Callvirt, b.Conversion.Type.GetInvokeMethod()); 199_ilg.Emit(OpCodes.Callvirt, b.Conversion.Type.GetInvokeMethod());
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
175RequireNoRefArgs(node.DelegateType.GetInvokeMethod());
System\Linq\Expressions\DynamicExpression.cs (3)
24Debug.Assert(delegateType.GetInvokeMethod().GetReturnType() == typeof(object) || GetType() != typeof(DynamicExpression)); 527Debug.Assert(delegateType.GetInvokeMethod().GetReturnType() == returnType); 1014var method = delegateType.GetInvokeMethod();
System\Linq\Expressions\Interpreter\LightCompiler.cs (3)
2647Expression.Call(node.Conversion, node.Conversion.Type.GetInvokeMethod(), new[] { temp }) 2676compMethod.ReturnType.GetInvokeMethod(), 2683node.Expression, node.Expression.Type.GetInvokeMethod(), node
System\Linq\Expressions\Interpreter\LightLambda.cs (1)
358MethodInfo method = delegateType.GetInvokeMethod();
System\Linq\Expressions\InvocationExpression.cs (1)
756return delegateType.GetInvokeMethod();
System\Linq\Expressions\LambdaExpression.cs (2)
76public Type ReturnType => Type.GetInvokeMethod().ReturnType; 929mi = delegateType.GetInvokeMethod();
System\Runtime\CompilerServices\CallSite.cs (1)
287MethodInfo invoke = target.GetInvokeMethod();
System\Runtime\CompilerServices\CallSiteBinder.cs (1)
58MethodInfo invoke = target.GetInvokeMethod();