[bcl] Remove NET_4_0 defines from class libs.
[mono.git] / mcs / class / System / System.Net / HttpListenerRequest.cs
index d1133f9c3429132ac5996310bf3a373151ae127d..a7d76f195065bd52cabe77384a2654ee17a21ad7 100644 (file)
@@ -43,9 +43,7 @@ using System.Globalization;
 using System.IO;
 using System.Security.Cryptography.X509Certificates;
 using System.Text;
-#if NET_4_0
 using System.Security.Authentication.ExtendedProtection;
-#endif
 #if NET_4_5
 using System.Threading.Tasks;
 #endif
@@ -53,7 +51,6 @@ using System.Threading.Tasks;
 namespace System.Net {
        public sealed class HttpListenerRequest
        {
-#if NET_4_0
                class Context : TransportContext
                {
                        public override ChannelBinding GetChannelBinding (ChannelBindingKind kind)
@@ -61,7 +58,6 @@ namespace System.Net {
                                throw new NotImplementedException ();
                        }
                }
-#endif
 
                string [] accept_types;
                Encoding content_encoding;
@@ -512,7 +508,6 @@ namespace System.Net {
                        return context.Connection.ClientCertificate;
                }
 
-#if NET_4_0
                [MonoTODO]
                public string ServiceName {
                        get {
@@ -525,7 +520,6 @@ namespace System.Net {
                                return new Context ();
                        }
                }
-#endif
                
 #if NET_4_5
                [MonoTODO]