2007-11-14 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / class / corlib / System / Nullable.cs
index b33e5ac99243bcbcdb5a8f8bfa198085a4547eb2..b981afb00596bb21fb9788cce4c8513c2a355adc 100644 (file)
@@ -34,9 +34,13 @@ using System.Reflection;
 using System.Collections.Generic;
 #endif
 using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
 
 #if NET_2_0
 namespace System {
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public static class Nullable {
                public static int Compare<T> (Nullable<T> left, Nullable<T> right) where T: struct
                {
@@ -144,7 +148,7 @@ namespace System {
                        if (has_value)
                                return value.ToString ();
                        else
-                               return "";
+                               return String.Empty;
                }
 
                public static implicit operator Nullable<T> (T value)