716 {
717 if (name == null)
718 {
719 throw new ArgumentNullException("name");
720 }
721 if (types == null)
722 {
723 throw new ArgumentNullException("types");
724 }
725 for (
int i = 0;
i < types.Length;
i++)
726 {
727 if (types[i] == null)
728 {
729 throw new ArgumentNullException("types");
730 }
731 }
732 return GetMethodImpl(name, bindingAttr, binder, callConvention, types, modifiers);
733 }
MethodInfo? GetMethodImpl(string name, BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[]? types, ParameterModifier[]? modifiers)