public MethodInfo GetMethod (string name, Type[] types) { if (types == null) throw new ArgumentNullException ("types"); return GetMethodImpl (name, defaultBindingFlags, null, CallingConventions.Any, types, null); }