public static MethodInfo GetDeclaredMethod(this Type type, string name, Type[] parameters) { if (type == null) { throw new ArgumentNullException("type"); } return(GenericsReflection.GetMethod(type, name, Type.BindFlags.DeclaredMembers, parameters)); }
public MethodInfo GetMethod(string name, Type[] parameters) { return(GenericsReflection.GetMethod(this, name, BindFlags.PublicMembers, parameters)); }
public MethodInfo GetMethod(string name) { return(GenericsReflection.GetMethod(this, name, BindFlags.PublicMembers, null)); }