[Mono-bugs] [Bug 59800][Nor] New - error compiling cast from ulong to IntPtr
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 8 Jun 2004 10:41:01 -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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=59800
--- shadow/59800 2004-06-08 10:41:01.000000000 -0400
+++ shadow/59800.tmp.9198 2004-06-08 10:41:01.000000000 -0400
@@ -0,0 +1,25 @@
+Bug#: 59800
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: lupus@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: error compiling cast from ulong to IntPtr
+
+This test doesn't compile with mcs, but it should compile just fine.
+class T {
+ static void Main () {
+ ulong ul = 0;
+ System.IntPtr ptr = (System.IntPtr)ul;
+ }
+}