[Mono-bugs] [Bug 81007][Nor] Changed - [2.0] EnumBuilder emits literals with the integral type

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Mar 4 15:54:19 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 gert.driesen at pandora.be.

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

--- shadow/81007	2007-03-02 13:36:44.000000000 -0500
+++ shadow/81007.tmp.9493	2007-03-04 15:54:19.000000000 -0500
@@ -2,22 +2,22 @@
 Product: Mono: Class Libraries
 Version: 1.0
 OS: other
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: rolfkvinge at ya.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: EnumBuilder emits literals with the integral type
+Summary: [2.0] EnumBuilder emits literals with the integral type
 
 MS' EnumBuilder (and TypeBuilder when used to emit enums) changes the type 
 of the literal to the type of the enum, while Mono emits the literal with 
 the base integral type.
 
 Test code:
@@ -70,6 +70,10 @@
 f.FieldType.Name + ", should be " + en.Name + ")");
 		} else {
 			Console.WriteLine ("SUCCESS 2");
 		}
 	}
 }
+
+------- Additional Comments From gert.driesen at pandora.be  2007-03-04 15:54 -------
+The 1.0 profile behavior matches that of .NET 1.1. We only need to 
+update our 2.0 behaviour to match that of MS.


More information about the mono-bugs mailing list