2001-11-28 Miguel de Icaza <miguel@ximian.com>
[mono.git] / mcs / class / corlib / System / UInt64.cs
index d52ca8812174d782cee3a808776ade796222b671..c5fe1a2f89bbdcd5520998d78bf2a8814fbc5d76 100644 (file)
@@ -22,8 +22,11 @@ namespace System {
 
                public int CompareTo (object v)
                {
+                       if (v == null)
+                               return 1;
+
                        if (!(v is System.UInt64))
-                               throw new ArgumentException ("Value is not a System.UInt64");
+                               throw new ArgumentException (Locale.GetText ("Value is not a System.UInt64"));
 
                        if (value == (ulong) v)
                                return 0;
@@ -65,7 +68,7 @@ namespace System {
                public static ulong Parse (string s, NumberStyles style, IFormatProvider fp)
                {
                        // TODO: Implement me
-                       return 0;
+                       throw new NotImplementedException ();
                }
 
                public override string ToString ()