X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem%2FUInt64.cs;h=c5fe1a2f89bbdcd5520998d78bf2a8814fbc5d76;hb=beb87dd65db4000a903b5d90ce13e47a61a9e11e;hp=d52ca8812174d782cee3a808776ade796222b671;hpb=c441fe5cc63798ad9be778fd7c6846135af94ca0;p=mono.git diff --git a/mcs/class/corlib/System/UInt64.cs b/mcs/class/corlib/System/UInt64.cs index d52ca881217..c5fe1a2f89b 100644 --- a/mcs/class/corlib/System/UInt64.cs +++ b/mcs/class/corlib/System/UInt64.cs @@ -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 ()