[Mono-bugs] [Bug 57013][Nor] Changed - mcs emits invalid il code for arrays with enum values

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 14 Apr 2004 23:59:14 -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 miguel@ximian.com.


--- shadow/57013	2004-04-14 21:38:31.000000000 -0400
+++ shadow/57013.tmp.20642	2004-04-14 23:59:14.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 57013
 Product: Mono: Compilers
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: pcgod@gmx.net               
 QAContact: mono-bugs@ximian.com
@@ -52,6 +52,11 @@
 This isnt a contest for the biggest patch :-)
 You can just add this to the top of the function:
 type = EnumToUnderlying (type);
 (note, that it is an identity function if the type is not an enum).
+------- Additional Comments From miguel@ximian.com  2004-04-14 23:59 -------
+Applied a fix based on Benjamin patch and Ben's pointer