mono/dis:
authorAnkit Jain <radical@corewars.org>
Wed, 23 Nov 2005 09:52:33 +0000 (09:52 -0000)
committerAnkit Jain <radical@corewars.org>
Wed, 23 Nov 2005 09:52:33 +0000 (09:52 -0000)
commit6a76620bf53250a1abed59c8b884201a58cf29ed
tree8bbd05f5628d6e25f196cf7237094a905aabf2d6
parentac46f08008749306883fd0c9a3706dae98706b40
mono/dis:
* dump.c (has_cattr_get_table): Handle GenericParam.
* get.c (dis_get_custom_attrs): Likewise.
* main.c (dump_cattrs_for_type_params): New. Dump custom attributes
for type parameters.
(dis_method_list): Call dump_cattrs_for_type_params.
(dis_type): Likewise.

mono/dis/tests:
* gen-cattr.cs: New test case for custom attributes on
type parameters.

svn path=/trunk/mono/; revision=53383
mono/dis/ChangeLog
mono/dis/dump.c
mono/dis/get.c
mono/dis/main.c
mono/dis/tests/Changelog
mono/dis/tests/gen-cattr.cs [new file with mode: 0644]