[Mono-bugs] [Bug 58287][Maj] Changed - Timespan crashes on Mac OS X
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 24 May 2004 11:57:17 -0400 (EDT)
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 dru@druware.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58287
--- shadow/58287 2004-05-23 11:59:14.000000000 -0400
+++ shadow/58287.tmp.7012 2004-05-24 11:57:17.000000000 -0400
@@ -77,6 +77,11 @@
checked {
long val = (long) Math.Round(value);
return new TimeSpan (val * TicksPerMillisecond);
}
the cast to long is raising an overflow exception.
+
+------- Additional Comments From dru@druware.com 2004-05-24 11:57 -------
+Created an attachment (id=7808)
+Simple Class to break TimeSpan on Mac OS X
+