[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
Sat, 8 Feb 2003 07:20:45 -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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=37358
--- shadow/37358 Wed Jan 29 02:16:57 2003
+++ shadow/37358.tmp.22768 Sat Feb 8 07:20:45 2003
@@ -3,13 +3,13 @@
Version: unspecified
OS: unknown
OS Details:
Status: NEW
Resolution:
Severity: Unknown
-Priority: Normal
+Priority: Minor
Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: mathpup@mylinuxisp.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
@@ -81,6 +81,21 @@
------- Additional Comments From mathpup@mylinuxisp.com 2003-01-29 02:16 -------
Created an attachment (id=3269)
Patch
+
+------- Additional Comments From lupus@ximian.com 2003-02-08 07:20 -------
+I committed the fix to cvs and added the test case as test-180.cs.
+There is one issue, though: the test still can't be compiled when
+running mcs with the ms runtime, the erros look like:
+test-180.cs(9) error CS1502: The best overloaded match for method
+'long System.Convert.ToInt64 (object)' has some invalid arguments
+test-180.cs(9) error CS1503: Argument 1: Cannot convert from
+'System.Enum' to 'object'
+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.