Merge pull request #5206 from alexrp/profiler-gc-base-init
[mono.git] / mcs / class / System / System.Net / HttpWebRequest.platformnotsupported.cs
index 5fc016498d277eb98522fbdfa334ff4fa096a960..470db5f2191e59f3fe5a78456f6679ee4cd46ec7 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
@@ -53,7 +48,7 @@ namespace System.Net
                        throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
                }
 
-               internal HttpWebRequest (Uri uri, object /* IMonoTlsProvider */ tlsProvider, object /* MonoTlsSettings */ settings = null)
+               internal HttpWebRequest (Uri uri, object /* MonoTlsProvider */ tlsProvider, object /* MonoTlsSettings */ settings = null)
                {
                        throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
                }
@@ -72,12 +67,12 @@ namespace System.Net
                        get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
                }
 
-               public bool AllowAutoRedirect {
+               public virtual bool AllowAutoRedirect {
                        get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
                        set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
                }
 
-               public bool AllowWriteStreamBuffering {
+               public virtual bool AllowWriteStreamBuffering {
                        get { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
                        set { throw new PlatformNotSupportedException (EXCEPTION_MESSAGE); }
                }
@@ -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); }
@@ -373,6 +360,11 @@ namespace System.Net
                        throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
                }
 
+               public System.IO.Stream GetRequestStream (out TransportContext context)
+               {
+                       throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
+               }
+
                public override IAsyncResult BeginGetResponse (AsyncCallback callback, object state)
                {
                        throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
@@ -431,30 +423,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); }
-               }
        }
 }