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