diff options
author | Martin Baulig <martin@novell.com> | 2005-12-08 20:06:56 +0300 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2005-12-08 20:06:56 +0300 |
commit | 2c1712b5b431f4dac037b319e5fea53dcb37ded6 (patch) | |
tree | f1881c34465527e67939e8ff6e4bb9e9c0458783 /mcs/gmcs/typemanager.cs | |
parent | a64ccb6ec117d3a8d79f6af72771ac3721fc0dad (diff) |
2005-12-08 Martin Baulig <martin@ximian.com>
* generic.cs (TypeArguments.Resolve): Added CS1547 check.
* typemanager.cs (TypeManager.CSharpSignature): Include type
arguments in the signature of a generic method.
svn path=/trunk/mcs/; revision=54113
Diffstat (limited to 'mcs/gmcs/typemanager.cs')
-rw-r--r-- | mcs/gmcs/typemanager.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/gmcs/typemanager.cs b/mcs/gmcs/typemanager.cs index 0aac1476395..42e5869b58d 100644 --- a/mcs/gmcs/typemanager.cs +++ b/mcs/gmcs/typemanager.cs @@ -746,6 +746,17 @@ public partial class TypeManager { else sig.Append (mb.Name); + if (mb.Mono_IsInflatedMethod || TypeManager.IsGenericMethod (mb)) { + Type[] args = mb.GetGenericArguments (); + sig.Append ('<'); + for (int i = 0; i < args.Length; i++) { + if (i > 0) + sig.Append (','); + sig.Append (args [i].Name); + } + sig.Append ('>'); + } + sig.Append (parameters); } |