[Mono-bugs] [Bug 59800][Nor] Changed - error compiling cast from ulong to IntPtr
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 15 Jun 2004 04:56:45 -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 marek.safar@seznam.cz.
http://bugzilla.ximian.com/show_bug.cgi?id=59800
--- shadow/59800 2004-06-10 00:04:45.000000000 -0400
+++ shadow/59800.tmp.30756 2004-06-15 04:56:45.000000000 -0400
@@ -48,6 +48,19 @@
}
Is this a csc bug?
------- Additional Comments From ravi@ximian.com 2004-06-10 00:04 -------
Assigning to myself
+
+------- Additional Comments From marek.safar@seznam.cz 2004-06-15 04:56 -------
+I think too, that it is csc bug. Because csc compiles also this
+
+class T {
+ static void Main () {
+ ulong ul = 1000000000000;
+ System.IntPtr ptr = (System.IntPtr)ul;
+ }
+}
+
+but when I tried to run compiled exe it crash with
+System.OverflowException on WXP,.NET 1.1,2.0