2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Wed, 8 Nov 2006 16:17:52 +0000 (16:17 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Wed, 8 Nov 2006 16:17:52 +0000 (16:17 -0000)
* X501Name.cs: Fix build as the first build of 2.0's System.dll
may depend on a Mono.Security.dll without the new ToString overload.

svn path=/trunk/mcs/; revision=67541

mcs/class/Mono.Security/Mono.Security.X509/ChangeLog
mcs/class/Mono.Security/Mono.Security.X509/X501Name.cs

index b0884165be91166af5a6316c1335e92333fef191..f3e6fe20dfa981f952d2cc95eb30e20abcc3a54f 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-08  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * X501Name.cs: Fix build as the first build of 2.0's System.dll 
+       may depend on a Mono.Security.dll without the new ToString overload.
+
 2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>
 
        * X501Name.cs: Refactor ToString method to allow most options available 
index 43c637dae2b1f9d9eea1ff5b5fa82b013c223c09..5e47ceda61896225c1909f325ff03dbe78d4678a 100644 (file)
@@ -86,7 +86,6 @@ namespace Mono.Security.X509 {
                        return sb.ToString ();
                }
 
-#if INSIDE_CORLIB || NET_2_0
                static public string ToString (ASN1 seq, bool reversed, string separator, bool quotes)
                {
                        StringBuilder sb = new StringBuilder ();
@@ -112,7 +111,6 @@ namespace Mono.Security.X509 {
                        }
                        return sb.ToString ();
                }
-#endif
 
                static private void AppendEntry (StringBuilder sb, ASN1 entry, bool quotes)
                {