[Mono-bugs] [Bug 71285][Nor] New - Int64.Parse fails to throw exception on very large numbers

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 14 Jan 2005 17:28:35 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=71285

--- shadow/71285	2005-01-14 17:28:35.000000000 -0500
+++ shadow/71285.tmp.12276	2005-01-14 17:28:35.000000000 -0500
@@ -0,0 +1,29 @@
+Bug#: 71285
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Int64.Parse fails to throw exception on very large numbers
+
+From NUnit test case:
+
+using System;
+class D {
+     static void Main ()
+     {
+	Int64.Parse ("1" + Int64.MaxValue.ToString ());
+     }
+} 
+
+That should throw an exception