[Mono-bugs] [Bug 377596] Cannot retrieve Generic Type Parameter Custom Attributes via Reflection

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 10 05:18:52 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=377596

User jonpryor at vt.edu added comment
https://bugzilla.novell.com/show_bug.cgi?id=377596#c8





--- Comment #8 from Jonathan Pryor <jonpryor at vt.edu>  2008-04-10 03:18:51 MST ---
Actually, this isn't a runtime bug, this is a compiler bug:

jon at lina:tools$ monodis --customattr gaa.exe
Custom Attributes Table (1..9)
1: Assembly: 1: instance void class
[mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'()
[ 1 named args: ( 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 63 65 70 74 69 6F
6E 54 68 72 6F 77 73 01)]
2: GenericParam: 1: instance void class DocAttribute::'.ctor'(string) ["T"]
3: TypeDef: 2: instance void class
[mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype
[mscorlib]System.AttributeTargets) [32767]
4: GenericParam: 2: instance void class DocAttribute::'.ctor'(string) ["B"]
5: GenericParam: 3: instance void class DocAttribute::'.ctor'(string) ["X"]
6: TypeDef: 5: instance void class DocAttribute::'.ctor'(string) ["method"]
7: Param: 6: instance void class DocAttribute::'.ctor'(string) ["return"]
8: Param: 7: instance void class DocAttribute::'.ctor'(string) ["arg-actual"]
9: Param: 8: instance void class DocAttribute::'.ctor'(string) ["arg-actual"]

Notice that 'arg!' and 'ret!' do not show up in the output.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list