[Mono-bugs] [Bug 38674][Nor] New - TimeSpan.MinValue.Negate () does not throw

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 25 Feb 2003 09:06:37 -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 ndrochak@gol.com.

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

--- shadow/38674	Tue Feb 25 09:06:37 2003
+++ shadow/38674.tmp.14398	Tue Feb 25 09:06:37 2003
@@ -0,0 +1,30 @@
+Bug#: 38674
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 8.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ndrochak@gol.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TimeSpan.MinValue.Negate () does not throw
+
+The following simple test does not throw an exception like it should:
+
+using System;
+
+namespace N
+{
+        public class X {
+                public static void Main() {
+                        TimeSpan t1 = TimeSpan.MinValue.Negate ();
+                }
+        }
+}