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