Author: ankit
Date: 2006-01-19 04:44:31 -0500 (Thu, 19 Jan 2006)
New Revision: 55772

Modified:
   trunk/mono/mono/dis/ChangeLog
   trunk/mono/mono/dis/main.c
Log:
* main.c (dis_type): Dump custom attributes for a type before doing the same
for its type parameters.


Modified: trunk/mono/mono/dis/ChangeLog
===================================================================
--- trunk/mono/mono/dis/ChangeLog       2006-01-19 08:22:26 UTC (rev 55771)
+++ trunk/mono/mono/dis/ChangeLog       2006-01-19 09:44:31 UTC (rev 55772)
@@ -1,3 +1,8 @@
+2006-01-19  Ankit Jain  <[EMAIL PROTECTED]>
+
+       * main.c (dis_type): Dump custom attributes for a type before doing the 
same
+       for its type parameters.
+
 2006-01-18  Ankit Jain  <[EMAIL PROTECTED]>
 
        * main.c (typedef_flags): Change 'special-name' to 'specialname'.

Modified: trunk/mono/mono/dis/main.c
===================================================================
--- trunk/mono/mono/dis/main.c  2006-01-19 08:22:26 UTC (rev 55771)
+++ trunk/mono/mono/dis/main.c  2006-01-19 09:44:31 UTC (rev 55772)
@@ -1208,8 +1208,8 @@
        dis_interfaces (m, n + 1, (MonoGenericContext *) container);
        fprintf (output, "  {\n");
         if (!forward) {
+               dump_cattrs (m, MONO_TOKEN_TYPE_DEF | (n + 1), "    ");
                dump_cattrs_for_type_params (m, MONO_TOKEN_TYPE_DEF | (n + 1), 
"    ");
-               dump_cattrs (m, MONO_TOKEN_TYPE_DEF | (n + 1), "    ");
                dump_declarative_security (m, OBJECT_TYPE_TYPEDEF, (n + 1), "   
 ");
 
                if (mono_metadata_packing_from_typedef (m, n + 1, 
&packing_size, &class_size)) {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to