[System*] Throw a PlatformNotSupported exception when using the managed networking...
[mono.git] / mcs / class / System / System.Net / HttpWebRequest.platformnotsupported.cs
index 5fc016498d277eb98522fbdfa334ff4fa096a960..3977c7bad9c96a0bad0ae81c01931ac9a2ab4e6d 100644 (file)
@@ -38,11 +38,6 @@ namespace System.Net
        {
                internal const string EXCEPTION_MESSAGE = "System.Net.HttpWebRequest is not supported on the current platform.";
 
-               internal WebConnection WebConnection {
-                       get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
-                       set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
-               }
-
 #if MOBILE
                public
 #else
@@ -96,14 +91,6 @@ namespace System.Net
                        get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
                }
 
-               internal Mono.Net.Security.IMonoTlsProvider TlsProvider {
-                       get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
-               }
-
-               internal Mono.Security.Interface.MonoTlsSettings TlsSettings {
-                       get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
-               }
-
                public X509CertificateCollection ClientCertificates {
                        get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
                        set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
@@ -431,30 +418,5 @@ namespace System.Net
                {
                        throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
                }
-
-               internal void SetWriteStream (WebConnectionStream stream)
-               {
-                       throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
-               }
-
-               internal void SetResponseData (WebConnectionData data)
-               {
-                       throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
-               }
-
-               internal void SetResponseError (WebExceptionStatus status, Exception e, string where)
-               {
-                       throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
-               }
-
-               internal bool ReuseConnection {
-                       get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
-                       set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
-               }
-
-               internal WebConnection StoredConnection {
-                       get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
-                       set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
-               }
        }
 }