Fix the 1.0 dropping
authorMiguel de Icaza <miguel@gnome.org>
Sun, 28 Feb 2010 20:23:17 +0000 (20:23 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sun, 28 Feb 2010 20:23:17 +0000 (20:23 -0000)
svn path=/trunk/mcs/; revision=152628

mcs/class/Mono.Security/Mono.Security.X509/X509Certificate.cs

index e34155286f380acda8c95a5264149a1c76266bc0..e951e4bede2236ba8f46dd06b7fc39a20229532d 100644 (file)
@@ -541,7 +541,6 @@ namespace Mono.Security.X509 {
                        }
                }
 
-#if INSIDE_CORLIB
                public ASN1 GetIssuerName ()
                {
                        return issuer;
@@ -556,16 +555,13 @@ namespace Mono.Security.X509 {
                {
                        Parse ((byte[]) info.GetValue ("raw", typeof (byte[])));
                }
-#endif
 
-#if INSIDE_CORLIB || NET_2_0
                [SecurityPermission (SecurityAction.Demand, SerializationFormatter = true)]
                public virtual void GetObjectData (SerializationInfo info, StreamingContext context)
                {
                        info.AddValue ("raw", m_encodedcert);
                        // note: we NEVER serialize the private key
                }
-#endif
 
                static byte[] PEM (string type, byte[] data) 
                {