[Mono-bugs] [Bug 59800][Nor] Changed - error compiling cast from ulong to IntPtr
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Jun 2004 10:59:20 -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=59800
--- shadow/59800 2004-06-08 10:41:01.000000000 -0400
+++ shadow/59800.tmp.30392 2004-06-09 10:59:20.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 59800
Product: Mono: Compilers
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: C#
AssignedTo: mono-bugs@ximian.com
ReportedBy: lupus@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -20,6 +20,12 @@
class T {
static void Main () {
ulong ul = 0;
System.IntPtr ptr = (System.IntPtr)ul;
}
}
+
+------- Additional Comments From bmaurer@users.sf.net 2004-06-09 10:59 -------
+Interesting. There are no implicit conversions defined from ulong to
+IntPtr.
+
+I have no idea why csc compiles this.