From 9fa0629397c8575e234d816f2991982f09145e9e Mon Sep 17 00:00:00 2001 From: jbevain Date: Thu, 22 Mar 2007 08:23:59 +0000 Subject: [PATCH] 2007-03-22 Jb Evain * class.c (mono_type_get_name_recurse): Fix the creation of assembly qualified names for pointer types. Fixes #81208. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@74793 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- mono/metadata/ChangeLog | 5 +++++ mono/metadata/class.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mono/metadata/ChangeLog b/mono/metadata/ChangeLog index 1a669076f..354666971 100644 --- a/mono/metadata/ChangeLog +++ b/mono/metadata/ChangeLog @@ -1,3 +1,8 @@ +2007-03-22 Jb Evain + + * class.c (mono_type_get_name_recurse): Fix the creation of assembly + qualified names for pointer types. Fixes #81208. + 2007-03-21 Jonathan Chambers * marshal.c: Add support for PreserveSigAttribute. diff --git a/mono/metadata/class.c b/mono/metadata/class.c index 3485ff449..5ba6f6979 100644 --- a/mono/metadata/class.c +++ b/mono/metadata/class.c @@ -252,9 +252,9 @@ mono_type_get_name_recurse (MonoType *type, GString *str, gboolean is_recursed, mono_type_get_name_recurse ( type->data.type, str, FALSE, nested_format); - g_string_append (str, "*"); + g_string_append_c (str, '*'); if (format == MONO_TYPE_NAME_FORMAT_ASSEMBLY_QUALIFIED) - _mono_type_get_assembly_name (type->data.klass, str); + _mono_type_get_assembly_name (type->data.type->data.klass, str); break; } case MONO_TYPE_VAR: -- 2.11.4.GIT