[Mono-bugs] [Bug 64578][Nor] New - conv.i1.ovf doesnt throw on 0x00000000ffffffff

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 30 Aug 2004 10:32:52 -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 bmaurer@users.sf.net.

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

--- shadow/64578	2004-08-30 10:32:52.000000000 -0400
+++ shadow/64578.tmp.32680	2004-08-30 10:32:52.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 64578
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: conv.i1.ovf doesnt throw on 0x00000000ffffffff
+
+class X {
+	static void Main ()
+	{
+		long x = 0x00000000ffffffff;
+		
+		checked {
+			sbyte y = (sbyte) x;
+		}
+	}
+}
+
+Should throw an exception, however it does not.