Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2009-01-09 19:05:52 +0300
committerZoltan Varga <vargaz@gmail.com>2009-01-09 19:05:52 +0300
commit470791b186ea8326f205f17ce2eadac2ff86a564 (patch)
tree2b969e4402ac4ab14c9eea417b91830619176023
parent3887d81f8eb799d9858050154232e6a6af91a8f6 (diff)
2009-01-09 Zoltan Varga <vargaz@gmail.com>mono-2.2
Backport of r122907. * CustomAttributeData.cs (ToString): Applied patch from Leszek Ciesielski <skolima@gmail.com>. Use DeclaringType.FullName instead of DeclaringType.Name. Fixes #464830. svn path=/branches/mono-2-2/mcs/; revision=122909
-rw-r--r--mcs/class/corlib/System.Reflection/ChangeLog8
-rw-r--r--mcs/class/corlib/System.Reflection/CustomAttributeData.cs2
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)