2007-04-03 Alp Toker <alp@atoker.com>
[mono.git] / mcs / class / corlib / System / Convert.cs
index f9fd89eb42cd56fe1ae6b02e4154c292328fef94..9e2f3e56d56db8bab94e432e371ba1ff93144584 100644 (file)
@@ -99,16 +99,19 @@ using System.Runtime.CompilerServices;
 namespace System {
   
 //     [CLSCompliant(false)]
+#if NET_2_0
+       public static class Convert {
+#else
        public sealed class Convert {
+               private Convert ()
+               {
+               }
+#endif
 
                // Fields
                public static readonly object DBNull = System.DBNull.Value;
                static ToBase64Transform toBase64Transform = new ToBase64Transform();
        
-               private Convert ()
-               {
-               }
-
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                extern static byte [] InternalFromBase64String (string str, bool allowWhitespaceOnly);