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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 23 Dec 2003 22:25:39 -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 bmaurer@users.sf.net.

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

--- shadow/38674	2003-12-23 22:24:55.000000000 -0500
+++ shadow/38674.tmp.11766	2003-12-23 22:25:39.000000000 -0500
@@ -5,13 +5,13 @@
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: C#
-AssignedTo: mono-bugs@ximian.com                            
+AssignedTo: bmaurer@users.sf.net                            
 ReportedBy: ndrochak@gol.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Summary: TimeSpan.MinValue.Negate () does not throw
 
@@ -142,6 +142,10 @@
 overflow use the sub.ovf instruction instead (i.e. subtract from 0).
 
 ------- Additional Comments From bmaurer@users.sf.net  2003-12-23 22:24 -------
 Created an attachment (id=6319)
 This should fix it
 
+
+------- Additional Comments From bmaurer@users.sf.net  2003-12-23 22:25 -------
+The above patch resolves this issue in both the long and the int case.
+We are now emitting the same code as csc.