X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem%2FSystem.Net%2FHttpConnection.cs;h=b9940eb07d89585b683f2904aa1b0fb49aa84157;hb=6025544e01621474c7c7e1acb08bcfa66704e8db;hp=2be693f5b16c4fa3fee90b2e3daa2096746d714f;hpb=e137ff6f7e2594d3ce96b4c74b528d26cc80e11d;p=mono.git diff --git a/mcs/class/System/System.Net/HttpConnection.cs b/mcs/class/System/System.Net/HttpConnection.cs index 2be693f5b16..b9940eb07d8 100644 --- a/mcs/class/System/System.Net/HttpConnection.cs +++ b/mcs/class/System/System.Net/HttpConnection.cs @@ -31,20 +31,12 @@ #if MONO_SECURITY_ALIAS extern alias MonoSecurity; #endif -#if MONO_X509_ALIAS -extern alias PrebuiltSystem; -#endif #if MONO_SECURITY_ALIAS using MSI = MonoSecurity::Mono.Security.Interface; #else using MSI = Mono.Security.Interface; #endif -#if MONO_X509_ALIAS -using XX509CertificateCollection = PrebuiltSystem::System.Security.Cryptography.X509Certificates.X509CertificateCollection; -#else -using XX509CertificateCollection = System.Security.Cryptography.X509Certificates.X509CertificateCollection; -#endif using System.IO; using System.Net.Sockets; @@ -397,7 +389,7 @@ namespace System.Net { HttpListenerResponse response = context.Response; response.StatusCode = status; response.ContentType = "text/html"; - string description = HttpListenerResponse.GetStatusDescription (status); + string description = HttpListenerResponseHelper.GetStatusDescription (status); string str; if (msg != null) str = String.Format ("

{0} ({1})

", description, msg);