[Mono-bugs] [Bug 37358][Min] Changed - mcs believes that System.Enum is a value type

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 12 Feb 2003 18:18:55 -0500 (EST)

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/37358	Sat Feb  8 07:20:45 2003
+++ shadow/37358.tmp.7446	Wed Feb 12 18:18:55 2003
@@ -1,13 +1,13 @@
 Bug#: 37358
 Product: Mono/MCS
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Minor
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: mathpup@mylinuxisp.com               
 QAContact: mono-bugs@ximian.com
@@ -96,6 +96,17 @@
 test-180.cs(9) error CS-0006: Could not find any applicable function
 for this argument list
 Leaving the bug open until that is fixed as well: it maybe also a bug
 in corlib, since the test is compiled fine with mono, but there is
 still a bug in mcs.
+------- Additional Comments From miguel@ximian.com  2003-02-12 18:18 -------
+Ok, fixed this bug.  There were two problems: Our class libraries were
+returning true for IsClass on typeof (System.Enum), but the .NET
+Framework returns false.
+Is seems like Enums live live in purgatory, as they are neither
+Classes or ValueTypes in Type.cs's view.   
+Anyways, the right fix for mcs is checked in now, and the class
+libraries have been fixed.