Author: miguel
Date: 2007-12-24 14:55:08 -0500 (Mon, 24 Dec 2007)
New Revision: 91867

Modified:
   trunk/mcs/class/System/System.Net/ChangeLog
   trunk/mcs/class/System/System.Net/WebClient.cs
Log:
2007-12-24  Miguel de Icaza  <[EMAIL PROTECTED]>

        * WebClient.cs: Do not validate method to be null, we do not do
        that in OpenWrite, the detection is done later on.  

        Fixes #350622

Modified: trunk/mcs/class/System/System.Net/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Net/ChangeLog 2007-12-24 17:48:35 UTC (rev 
91866)
+++ trunk/mcs/class/System/System.Net/ChangeLog 2007-12-24 19:55:08 UTC (rev 
91867)
@@ -1,3 +1,10 @@
+2007-12-24  Miguel de Icaza  <[EMAIL PROTECTED]>
+
+       * WebClient.cs: Do not validate method to be null, we do not do
+       that in OpenWrite, the detection is done later on.  
+
+       Fixes #350622
+
 2007-12-16  Miguel de Icaza  <[EMAIL PROTECTED]>
 
        * WebClient.cs: Got the arguments in the wrong order, fix

Modified: trunk/mcs/class/System/System.Net/WebClient.cs
===================================================================
--- trunk/mcs/class/System/System.Net/WebClient.cs      2007-12-24 17:48:35 UTC 
(rev 91866)
+++ trunk/mcs/class/System/System.Net/WebClient.cs      2007-12-24 19:55:08 UTC 
(rev 91867)
@@ -1181,8 +1181,6 @@
                {
                        if (address == null)
                                throw new ArgumentNullException ("address");
-                       if (method == null)
-                               throw new ArgumentNullException ("method");
 
                        lock (this) {
                                SetBusy ();

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to