diff options
-rw-r--r-- | mcs/class/corlib/System.Reflection/ChangeLog | 8 | ||||
-rw-r--r-- | mcs/class/corlib/System.Reflection/CustomAttributeData.cs | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/mcs/class/corlib/System.Reflection/ChangeLog b/mcs/class/corlib/System.Reflection/ChangeLog index 7c32d370a51..8859ba77b99 100644 --- a/mcs/class/corlib/System.Reflection/ChangeLog +++ b/mcs/class/corlib/System.Reflection/ChangeLog @@ -1,3 +1,11 @@ +2009-01-09 Zoltan Varga <vargaz@gmail.com> + + Backport of r122907. + + * CustomAttributeData.cs (ToString): Applied patch from Leszek Ciesielski + <skolima@gmail.com>. Use DeclaringType.FullName instead of DeclaringType.Name. + Fixes #464830. + 2008-11-17 Rodrigo Kumpera <rkumpera@novell.com> * MonoField.cs (GetValue): Don't check for open generic types if the field diff --git a/mcs/class/corlib/System.Reflection/CustomAttributeData.cs b/mcs/class/corlib/System.Reflection/CustomAttributeData.cs index c83ffef091a..b12e0a2bfcb 100644 --- a/mcs/class/corlib/System.Reflection/CustomAttributeData.cs +++ b/mcs/class/corlib/System.Reflection/CustomAttributeData.cs @@ -95,7 +95,7 @@ namespace System.Reflection { { StringBuilder sb = new StringBuilder (); - sb.Append ("[" + ctorInfo.DeclaringType.Name + " ("); + sb.Append ("[" + ctorInfo.DeclaringType.FullName + "("); for (int i = 0; i < ctorArgs.Count; i++) { sb.Append (ctorArgs [i].ToString ()); if (i + 1 < ctorArgs.Count) |