3 references to FindMethod
System.Linq.Expressions (3)
System\Linq\Expressions\ListInitExpression.cs (1)
133
MethodInfo? addMethod =
FindMethod
(newExpression.Type, "Add", null, new Expression[] { initializerlist[0] }, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
System\Linq\Expressions\MethodCallExpression.cs (2)
1149
return Expression.Call(instance,
FindMethod
(instance.Type, methodName, typeArguments, arguments, flags)!, arguments);
1177
return Expression.Call(null,
FindMethod
(type, methodName, typeArguments, arguments, Flags)!, arguments);