2003-10-21 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Tue, 21 Oct 2003 01:42:16 +0000 (01:42 -0000)
committerMartin Baulig <martin@novell.com>
Tue, 21 Oct 2003 01:42:16 +0000 (01:42 -0000)
* get.c (get_typespec): Add MONO_TYPE_VAR and MONO_TYPE_MVAR.

svn path=/trunk/mono/; revision=19247

mono/dis/ChangeLog
mono/dis/get.c

index 298d43119630d7df440aab2751da7dbfbb325a48..c2eff29fb292804ad168ea7f542cb360f5011caa 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-21  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_typespec): Add MONO_TYPE_VAR and MONO_TYPE_MVAR.
+
 2003-10-18 Jackson Harper <jackson@ximian.com>
 
        * dis-cil.c (get_encoded_user_string): use g_strescape instead of
index f8eaebd8d12a51deb26f319d1d700c62018dfc1e..5f52e9a098c34bd70db1c7e7f1a5c3f12e71700c 100644 (file)
@@ -206,6 +206,13 @@ get_typespec (MonoImage *m, guint32 idx)
                g_string_append (res, s);
                g_string_append (res, "[]");
                g_free (s);
+
+       case MONO_TYPE_VAR:
+       case MONO_TYPE_MVAR:
+               ptr = get_type (m, ptr-1, &s);
+               g_string_append (res, s);
+               g_free (s);
+               break;
        }
 
        result = res->str;