[Mono-bugs] [Bug 23547] New - Wrong conversion of constant
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
17 Apr 2002 02:49:30 -0000
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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=23547
--- shadow/23547 Tue Apr 16 22:49:30 2002
+++ shadow/23547.tmp.1750 Tue Apr 16 22:49:30 2002
@@ -0,0 +1,36 @@
+Bug#: 23547
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gonzalo@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Wrong conversion of constant
+
+I compile this simple program with csc:
+
+public class MyClass
+{
+ public static void Main ()
+ {
+ long value = 0xFFFFFFFF;
+
+ System.Console.WriteLine ("{0:X}", value);
+ }
+}
+
+then:
+~/work $ ./bugtest.exe
+FFFFFFFF
+~/work $ mono bugtest.exe
+FFFFFFFFFFFFFFFF
+RESULT: 0