throw new ArgumentNullException ("name");
if (types == null)
throw new ArgumentNullException ("types");
-
- foreach (Type t in types)
- if (t == null)
- throw new ArgumentNullException ("types");
-
+
return GetPropertyImpl (name, bindingAttr, binder, returnType, types, modifiers);
}
public ConstructorInfo GetConstructor (Type[] types)
{
- return GetConstructor (DefaultBindingFlags, null, CallingConventions.Any, types, null);
+ return GetConstructorImpl (
+ DefaultBindingFlags, null, CallingConventions.Any, types, null);
}
public ConstructorInfo GetConstructor (BindingFlags bindingAttr, Binder binder,
Type[] types, ParameterModifier[] modifiers)
{
- return GetConstructor (bindingAttr, binder, CallingConventions.Any, types, modifiers);
+ return GetConstructorImpl (
+ bindingAttr, binder, CallingConventions.Any, types, modifiers);
}
public ConstructorInfo GetConstructor (BindingFlags bindingAttr, Binder binder,
{
if (types == null)
throw new ArgumentNullException ("types");
-
- foreach (Type t in types)
- if (t == null)
- throw new ArgumentNullException ("types");
return GetConstructorImpl (bindingAttr, binder, callConvention, types, modifiers);
}