diff options
author | jfrijters <jfrijters> | 2011-03-13 12:06:55 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-03-13 12:06:55 +0300 |
commit | 896b5a4b57bc30d8b5b046bb0d41695ac8cd5eb1 (patch) | |
tree | f8c65c75c806019a38b7ff9ba6708427a26335a1 /reflect/Type.cs | |
parent | c12d5570e506c0799355c2335244f5d1ce5e04a7 (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.cs | 4 |
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(); |