Author: raja
Date: 2005-12-19 05:15:40 -0500 (Mon, 19 Dec 2005)
New Revision: 54597
Modified:
trunk/mono/mono/metadata/ChangeLog
trunk/mono/mono/metadata/icall.c
Log:
* icall.c (ves_icall_System_MonoType_getFullName): Return NULL for
type parameters.
Fix regression on Type.FullName and Type.AssemblyQualifiedName
Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog 2005-12-19 10:13:56 UTC (rev 54596)
+++ trunk/mono/mono/metadata/ChangeLog 2005-12-19 10:15:40 UTC (rev 54597)
@@ -1,3 +1,8 @@
+2005-12-19 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * icall.c (ves_icall_System_MonoType_getFullName): Return NULL for
+ type parameters.
+
2005-12-15 Raja R Harinath <[EMAIL PROTECTED]>
* metadata.c (mono_metadata_parse_method_signature_full): Remove a
Modified: trunk/mono/mono/metadata/icall.c
===================================================================
--- trunk/mono/mono/metadata/icall.c 2005-12-19 10:13:56 UTC (rev 54596)
+++ trunk/mono/mono/metadata/icall.c 2005-12-19 10:15:40 UTC (rev 54597)
@@ -4165,6 +4165,9 @@
if (!name)
return NULL;
+ if (full_name && (object->type->type == MONO_TYPE_VAR ||
object->type->type == MONO_TYPE_MVAR))
+ return NULL;
+
res = mono_string_new (domain, name);
g_free (name);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches