https://bugzilla.novell.com/show_bug.cgi?id=649889
https://bugzilla.novell.com/show_bug.cgi?id=649889#c0 Summary: catch ignores OverflowException Classification: Mono Product: Mono: Runtime Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: JIT AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- // Compile & Run using System; class C { static void Main () { var d = int.MinValue; var d2 = -1; try { long rez4 = unchecked (d / d2); } catch (OverflowException) { Console.WriteLine ("hit"); } } } Actual: Unhandled Exception: System.ArithmeticException: Overflow or underflow in the arithmetic operation. at C.Main () [0x00000] in <filename unknown>:0 Expected: hit -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
