2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 2 Jun 2005 15:49:09 +0000 (15:49 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 2 Jun 2005 15:49:09 +0000 (15:49 -0000)
* Type.cs: reverted wrong fix for bug #73100 in r45150. This makes SSL
support in System.Net work again.

svn path=/trunk/mcs/; revision=45330

mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/Type.cs

index 2ae9a333629059c048b00ac7f3badfaef536b38b..be381731598e9964d6a2d8d8a9c82ee8f3f36a5f 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Type.cs: reverted wrong fix for bug #73100 in r45150. This makes SSL
+       support in System.Net work again.
+
 2005-06-01  Ben Maurer  <bmaurer@ximian.com>
 
        * CharEnumerator.cs: add IEnumerable <char> support
index b8c56ada2893cd385914d482035ad7d52e6f4b33..da18e7edee91c37a86f440ed7463241f9f101092 100644 (file)
@@ -821,11 +821,7 @@ namespace System {
                                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);
                }
 
@@ -875,13 +871,15 @@ namespace System {
 
                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,
@@ -890,10 +888,6 @@ namespace System {
                {
                        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);
                }