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