[Mono-bugs] [Bug 82820][Wis] Changed - Attribute values with Enum type are missing from CustomAttribute
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Sep 12 11:01:15 EDT 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 mono at evain.net.
http://bugzilla.ximian.com/show_bug.cgi?id=82820
--- shadow/82820 2007-09-12 10:57:22.000000000 -0400
+++ shadow/82820.tmp.24254 2007-09-12 11:01:15.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 82820
Product: Mono: Class Libraries
Version: 1.2
-OS:
+OS: unknown
OS Details:
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: FIXED
+Severity: Unknown
Priority: Wishlist
Component: Cecil
AssignedTo: mono at evain.net
ReportedBy: jeff.brown at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -43,6 +43,17 @@
Always.
Additional Information:
I found this shortly after bug #82814 but I haven't dug deeply into its
causes yet.
+
+------- Additional Comments From mono at evain.net 2007-09-12 11:01 -------
+Hi Jeff,
+
+When facing an enum, Cecil will put the CustomAttribute in a non
+resolved state.
+
+You can check that using the IsResolved property. You have to call
+Resolve () on such a custom attribute to get the parameters list
+properly populated, because it requires loading the assembly the enum
+is defined in.
More information about the mono-bugs
mailing list