Author: ankit
Date: 2005-10-28 09:10:34 -0400 (Fri, 28 Oct 2005)
New Revision: 52316
Modified:
trunk/mono/mono/dis/ChangeLog
trunk/mono/mono/dis/get.c
Log:
* get.c (dis_stringify_method_signature): Use context instead of container
as container can be NULL.
Modified: trunk/mono/mono/dis/ChangeLog
===================================================================
--- trunk/mono/mono/dis/ChangeLog 2005-10-28 11:38:26 UTC (rev 52315)
+++ trunk/mono/mono/dis/ChangeLog 2005-10-28 13:10:34 UTC (rev 52316)
@@ -1,3 +1,8 @@
+2005-10-28 Ankit Jain <[EMAIL PROTECTED]>
+
+ * get.c (dis_stringify_method_signature): Use context instead of
container
+ as container can be NULL.
+
2005-10-20 Ankit Jain <[EMAIL PROTECTED]>
* get.c (get_method_core): Use the parent context for get_methodspec
Modified: trunk/mono/mono/dis/get.c
===================================================================
--- trunk/mono/mono/dis/get.c 2005-10-28 11:38:26 UTC (rev 52315)
+++ trunk/mono/mono/dis/get.c 2005-10-28 13:10:34 UTC (rev 52316)
@@ -834,6 +834,14 @@
return retval;
}
+/*
+ * @m: metadata context
+ * @method: MonoMethodSignature to dis-stringify
+ * @methoddef_row: row index in the Method table
+ * @context: generic context, generic method's context in case of a Generic
method
+ * or a generic type's context. if [EMAIL PROTECTED], treats it as a
non-generic method
+ * @fully_qualified: TRUE to print type name also.
+ */
char*
dis_stringify_method_signature (MonoImage *m, MonoMethodSignature *method, int
methoddef_row,
MonoGenericContext *context, gboolean
fully_qualified)
@@ -870,7 +878,7 @@
context = (MonoGenericContext *) container;
mono_metadata_decode_blob_size (sig, &sig);
- method = mono_metadata_parse_method_signature_full (m,
container, methoddef_row, sig, &sig);
+ method = mono_metadata_parse_method_signature_full (m,
context, methoddef_row, sig, &sig);
free_method = 1;
} else if (context)
container = context->container;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches