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

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2011-03-13 12:06:55 +0300
committerjfrijters <jfrijters>2011-03-13 12:06:55 +0300
commit896b5a4b57bc30d8b5b046bb0d41695ac8cd5eb1 (patch)
treef8c65c75c806019a38b7ff9ba6708427a26335a1 /reflect/Type.cs
parentc12d5570e506c0799355c2335244f5d1ce5e04a7 (diff)
Bug fix:
- Type parameters should be separated by commas. - Only the assembly name should escape the ']' characters.
Diffstat (limited to 'reflect/Type.cs')
-rw-r--r--reflect/Type.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/reflect/Type.cs b/reflect/Type.cs
index fa8cccb1..29880c16 100644
--- a/reflect/Type.cs
+++ b/reflect/Type.cs
@@ -2410,9 +2410,11 @@ namespace IKVM.Reflection
}
StringBuilder sb = new StringBuilder(this.type.FullName);
sb.Append('[');
+ string sep = "";
foreach (Type type in args)
{
- sb.Append('[').Append(type.AssemblyQualifiedName.Replace("]", "\\]")).Append(']');
+ sb.Append(sep).Append('[').Append(type.FullName).Append(", ").Append(type.Assembly.FullName.Replace("]", "\\]")).Append(']');
+ sep = ",";
}
sb.Append(']');
return sb.ToString();