[Mono-bugs] [Bug 80298][Wis] Changed - Enum.ToString("X") outputs e.g. "000000d1" versus MSFT "D1" etc

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 25 12:38:17 EST 2007


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 peter.dettman at iinet.net.au.

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

--- shadow/80298	2007-02-25 12:34:26.000000000 -0500
+++ shadow/80298.tmp.19190	2007-02-25 12:38:17.000000000 -0500
@@ -1,22 +1,21 @@
 Bug#: 80298
 Product: Mono: Class Libraries
 Version: 1.2
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: andyhume32 at yahoo.co.uk               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
-Cc: 
 Summary: Enum.ToString("X") outputs e.g. "000000d1" versus MSFT "D1" etc
 
 I don't know what level of "same behaviour" is being aimed for.  This 
 seems at the far end of the spectrum, but I'll report it anyway.  It may 
 well be WONTFIX, or erm NOTABUG.
 
@@ -57,6 +56,14 @@
 
 
 ------- Additional Comments From peter.dettman at iinet.net.au  2007-02-25 12:34 -------
 Created an attachment (id=18778)
 Proposed patch
 
+
+------- Additional Comments From peter.dettman at iinet.net.au  2007-02-25 12:38 -------
+The above patch makes the formatting for specifiers 'x' and 'X' behave
+like MS.NET, including the correct length for each possible underlying
+type, and correctly using capital letters for the 'X' case.
+
+Patch also includes some more test cases in EnumTests.cs.
+


More information about the mono-bugs mailing list