Author: martin
Date: 2006-01-15 19:53:05 -0500 (Sun, 15 Jan 2006)
New Revision: 55613
Modified:
trunk/mcs/gmcs/ChangeLog
trunk/mcs/gmcs/typemanager.cs
Log:
2006-01-16 Martin Baulig <[EMAIL PROTECTED]>
* typemanager.cs (TypeManager.CSharpSignature): Make this work for
ctors; fixes #77250.
Modified: trunk/mcs/gmcs/ChangeLog
===================================================================
--- trunk/mcs/gmcs/ChangeLog 2006-01-16 00:48:12 UTC (rev 55612)
+++ trunk/mcs/gmcs/ChangeLog 2006-01-16 00:53:05 UTC (rev 55613)
@@ -1,3 +1,8 @@
+2006-01-16 Martin Baulig <[EMAIL PROTECTED]>
+
+ * typemanager.cs (TypeManager.CSharpSignature): Make this work for
+ ctors; fixes #77250.
+
2006-01-12 Miguel de Icaza <[EMAIL PROTECTED]>
This fixes the problem where we used ldfld instead of ldflda to
Modified: trunk/mcs/gmcs/typemanager.cs
===================================================================
--- trunk/mcs/gmcs/typemanager.cs 2006-01-16 00:48:12 UTC (rev 55612)
+++ trunk/mcs/gmcs/typemanager.cs 2006-01-16 00:53:05 UTC (rev 55613)
@@ -767,18 +767,19 @@
} else {
if (mb.Name == ".ctor")
sig.Append (mb.DeclaringType.Name);
- else
+ 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);
+ 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 ('>');
}
sig.Append (parameters);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches