Author: dick
Date: 2007-06-21 11:24:34 -0400 (Thu, 21 Jun 2007)
New Revision: 80484

Modified:
   trunk/mcs/class/System/System.Net/AuthenticationManager.cs
   trunk/mcs/class/System/System.Net/Authorization.cs
   trunk/mcs/class/System/System.Net/ChangeLog
   trunk/mcs/class/System/System.Net/Cookie.cs
   trunk/mcs/class/System/System.Net/FileWebRequest.cs
   trunk/mcs/class/System/System.Net/FtpWebRequest.cs
   trunk/mcs/class/System/System.Net/HttpWebRequest.cs
   trunk/mcs/class/System/System.Net/HttpWebResponse.cs
   trunk/mcs/class/System/System.Net/ServicePoint.cs
   trunk/mcs/class/System/System.Net/ServicePointManager.cs
   trunk/mcs/class/System/System.Net/WebClient.cs
   trunk/mcs/class/System/System.Net/WebResponse.cs
Log:

2007-06-21  Dick Porter  <[EMAIL PROTECTED]>

        * AuthenticationManager.cs: 
        * FtpWebRequest.cs: 
        * Cookie.cs: 
        * ServicePoint.cs: 
        * WebClient.cs: 
        * Authorization.cs: 
        * FileWebRequest.cs: 
        * HttpWebRequest.cs: 
        * WebResponse.cs: 
        * ServicePointManager.cs: 
        * HttpWebResponse.cs: Throw NotImplementedException indirectly, to
        reduce noise in Moma reports.




Modified: trunk/mcs/class/System/System.Net/AuthenticationManager.cs
===================================================================
--- trunk/mcs/class/System/System.Net/AuthenticationManager.cs  2007-06-21 
15:20:24 UTC (rev 80483)
+++ trunk/mcs/class/System/System.Net/AuthenticationManager.cs  2007-06-21 
15:24:34 UTC (rev 80484)
@@ -86,10 +86,16 @@
                        }
                }
                
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+               
+               [MonoTODO]
                public static StringDictionary CustomTargetNameDictionary
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif

Modified: trunk/mcs/class/System/System.Net/Authorization.cs
===================================================================
--- trunk/mcs/class/System/System.Net/Authorization.cs  2007-06-21 15:20:24 UTC 
(rev 80483)
+++ trunk/mcs/class/System/System.Net/Authorization.cs  2007-06-21 15:24:34 UTC 
(rev 80484)
@@ -77,13 +77,19 @@
                }
 
 #if NET_2_0
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+               
+               [MonoTODO]
                public bool MutuallyAuthenticated
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif         

Modified: trunk/mcs/class/System/System.Net/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Net/ChangeLog 2007-06-21 15:20:24 UTC (rev 
80483)
+++ trunk/mcs/class/System/System.Net/ChangeLog 2007-06-21 15:24:34 UTC (rev 
80484)
@@ -1,3 +1,18 @@
+2007-06-21  Dick Porter  <[EMAIL PROTECTED]>
+
+       * AuthenticationManager.cs: 
+       * FtpWebRequest.cs: 
+       * Cookie.cs: 
+       * ServicePoint.cs: 
+       * WebClient.cs: 
+       * Authorization.cs: 
+       * FileWebRequest.cs: 
+       * HttpWebRequest.cs: 
+       * WebResponse.cs: 
+       * ServicePointManager.cs: 
+       * HttpWebResponse.cs: Throw NotImplementedException indirectly, to
+       reduce noise in Moma reports.
+
 2007-06-20  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * ServicePointManager.cs : (bootstrap) build fix.

Modified: trunk/mcs/class/System/System.Net/Cookie.cs
===================================================================
--- trunk/mcs/class/System/System.Net/Cookie.cs 2007-06-21 15:20:24 UTC (rev 
80483)
+++ trunk/mcs/class/System/System.Net/Cookie.cs 2007-06-21 15:24:34 UTC (rev 
80484)
@@ -131,13 +131,19 @@
                }
 
 #if NET_2_0
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+               
+               [MonoTODO]
                public bool HttpOnly
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif

Modified: trunk/mcs/class/System/System.Net/FileWebRequest.cs
===================================================================
--- trunk/mcs/class/System/System.Net/FileWebRequest.cs 2007-06-21 15:20:24 UTC 
(rev 80483)
+++ trunk/mcs/class/System/System.Net/FileWebRequest.cs 2007-06-21 15:24:34 UTC 
(rev 80484)
@@ -181,12 +181,18 @@
                private delegate WebResponse GetResponseCallback ();
 
 #if NET_2_0
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+               
                /* LAMESPEC: Docs suggest this was present in 1.1 and
                 * 1.0 profiles, but the masterinfos say otherwise
                 */
+               [MonoTODO]
                public override void Abort ()
                {
-                       throw new NotImplementedException ();
+                       throw GetMustImplement ();
                }
 #endif
 

Modified: trunk/mcs/class/System/System.Net/FtpWebRequest.cs
===================================================================
--- trunk/mcs/class/System/System.Net/FtpWebRequest.cs  2007-06-21 15:20:24 UTC 
(rev 80483)
+++ trunk/mcs/class/System/System.Net/FtpWebRequest.cs  2007-06-21 15:24:34 UTC 
(rev 80484)
@@ -100,23 +100,30 @@
                }
 
 #if NET_2_0
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+               
+               [MonoTODO]
                public X509CertificateCollection ClientCertificates
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
                
+               [MonoTODO]
                public override string ConnectionGroupName
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif
@@ -168,13 +175,14 @@
                }
 
 #if NET_2_0
+               [MonoTODO]
                public static RequestCachePolicy DefaultCachePolicy
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif
@@ -190,13 +198,14 @@
                }
 
 #if NET_2_0
+               [MonoTODO]
                public override WebHeaderCollection Headers
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif
@@ -299,13 +308,14 @@
                }
 
 #if NET_2_0
+               [MonoTODO]
                public override bool UseDefaultCredentials
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif

Modified: trunk/mcs/class/System/System.Net/HttpWebRequest.cs
===================================================================
--- trunk/mcs/class/System/System.Net/HttpWebRequest.cs 2007-06-21 15:20:24 UTC 
(rev 80483)
+++ trunk/mcs/class/System/System.Net/HttpWebRequest.cs 2007-06-21 15:24:34 UTC 
(rev 80484)
@@ -176,13 +176,19 @@
                }
 
 #if NET_2_0
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+               
+               [MonoTODO]
                public DecompressionMethods AutomaticDecompression
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif
@@ -203,8 +209,9 @@
                                return certificates;
                        }
 #if NET_2_0
+                       [MonoTODO]
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
 #endif
                }
@@ -279,23 +286,25 @@
                }
 
 #if NET_2_0
+               [MonoTODO]
                public static RequestCachePolicy DefaultCachePolicy
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
                
+               [MonoTODO]
                public static int DefaultMaximumErrorResponseLength
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif
@@ -519,13 +528,14 @@
                }
 
 #if NET_2_0
+               [MonoTODO]
                public override bool UseDefaultCredentials
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif

Modified: trunk/mcs/class/System/System.Net/HttpWebResponse.cs
===================================================================
--- trunk/mcs/class/System/System.Net/HttpWebResponse.cs        2007-06-21 
15:20:24 UTC (rev 80483)
+++ trunk/mcs/class/System/System.Net/HttpWebResponse.cs        2007-06-21 
15:24:34 UTC (rev 80484)
@@ -171,10 +171,16 @@
                }
 
 #if NET_2_0
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+               
+               [MonoTODO]
                public override bool IsMutuallyAuthenticated
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif

Modified: trunk/mcs/class/System/System.Net/ServicePoint.cs
===================================================================
--- trunk/mcs/class/System/System.Net/ServicePoint.cs   2007-06-21 15:20:24 UTC 
(rev 80483)
+++ trunk/mcs/class/System/System.Net/ServicePoint.cs   2007-06-21 15:24:34 UTC 
(rev 80484)
@@ -77,13 +77,19 @@
                }
 
 #if NET_2_0
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+
+               [MonoTODO]
                public BindIPEndPoint BindIPEndPointDelegate
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif
@@ -97,13 +103,14 @@
                }
 
 #if NET_2_0
+               [MonoTODO]
                public int ConnectionLeaseTimeout
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif
@@ -152,13 +159,14 @@
                }
 
 #if NET_2_0
+               [MonoTODO]
                public int ReceiveBufferSize
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif

Modified: trunk/mcs/class/System/System.Net/ServicePointManager.cs
===================================================================
--- trunk/mcs/class/System/System.Net/ServicePointManager.cs    2007-06-21 
15:20:24 UTC (rev 80483)
+++ trunk/mcs/class/System/System.Net/ServicePointManager.cs    2007-06-21 
15:24:34 UTC (rev 80484)
@@ -137,23 +137,30 @@
                }
 
 #if NET_2_0
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+               
+               [MonoTODO]
                public static int DnsRefreshTimeout
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
                
+               [MonoTODO]
                public static bool EnableDnsRoundRobin
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif
@@ -194,13 +201,14 @@
                }
 
 #if NET_2_0 && SECURITY_DEP
+               [MonoTODO]
                public static RemoteCertificateValidationCallback 
ServerCertificateValidationCallback
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif

Modified: trunk/mcs/class/System/System.Net/WebClient.cs
===================================================================
--- trunk/mcs/class/System/System.Net/WebClient.cs      2007-06-21 15:20:24 UTC 
(rev 80483)
+++ trunk/mcs/class/System/System.Net/WebClient.cs      2007-06-21 15:24:34 UTC 
(rev 80484)
@@ -106,23 +106,30 @@
                }
 
 #if NET_2_0
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+               
+               [MonoTODO]
                public RequestCachePolicy CachePolicy
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 
+               [MonoTODO]
                public bool UseDefaultCredentials
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                        set {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif

Modified: trunk/mcs/class/System/System.Net/WebResponse.cs
===================================================================
--- trunk/mcs/class/System/System.Net/WebResponse.cs    2007-06-21 15:20:24 UTC 
(rev 80483)
+++ trunk/mcs/class/System/System.Net/WebResponse.cs    2007-06-21 15:24:34 UTC 
(rev 80484)
@@ -61,17 +61,24 @@
                }
 
 #if NET_2_0
+               static Exception GetMustImplement ()
+               {
+                       return new NotImplementedException ();
+               }
+               
+               [MonoTODO]
                public virtual bool IsFromCache
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
                
+               [MonoTODO]
                public virtual bool IsMutuallyAuthenticated
                {
                        get {
-                               throw new NotImplementedException ();
+                               throw GetMustImplement ();
                        }
                }
 #endif
@@ -111,9 +118,10 @@
                }
 
 #if NET_2_0
+               [MonoTODO]
                protected virtual void GetObjectData (SerializationInfo 
serializationInfo, StreamingContext streamingContext)
                {
-                       throw new NotImplementedException ();
+                       throw GetMustImplement ();
                }
 #endif
        }

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

Reply via email to