[Mono-bugs] [Bug 28562][Nor] Changed - type info lost with enum arguments to a custom attr that takes an object
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
6 Aug 2002 16:57:27 -0000
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=28562
--- shadow/28562 Tue Aug 6 11:37:27 2002
+++ shadow/28562.tmp.28291 Tue Aug 6 12:57:27 2002
@@ -69,6 +69,10 @@
public My (object o) {
obj = o;
}
}
If the enum is a dynamic type, then I can't create an instance of it.
+
+------- Additional Comments From lupus@ximian.com 2002-08-06 12:57 -------
+mcs should probably call CreateType() on enums and use the resulting
+type to create the reference representation of the enum value.