Author: marek
Date: 2007-12-03 11:02:51 -0500 (Mon, 03 Dec 2007)
New Revision: 90551
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/typemanager.cs
Log:
2007-12-03 Marek Safar <[EMAIL PROTECTED]>
A fix for bug #345467
* typemanager.cs (IsEqual): Compare generic parameters position only.
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2007-12-03 15:53:20 UTC (rev 90550)
+++ trunk/mcs/mcs/ChangeLog 2007-12-03 16:02:51 UTC (rev 90551)
@@ -1,3 +1,8 @@
+2007-12-03 Marek Safar <[EMAIL PROTECTED]>
+
+ A fix for bug #345467
+ * typemanager.cs (IsEqual): Compare generic parameters position only.
+
2007-11-28 Marek Safar <[EMAIL PROTECTED]>
* expression.cs (BaseAccess): Type arguments can be null.
Modified: trunk/mcs/mcs/typemanager.cs
===================================================================
--- trunk/mcs/mcs/typemanager.cs 2007-12-03 15:53:20 UTC (rev 90550)
+++ trunk/mcs/mcs/typemanager.cs 2007-12-03 16:02:51 UTC (rev 90551)
@@ -2836,9 +2836,10 @@
#if GMCS_SOURCE
if (a.IsGenericParameter && b.IsGenericParameter) {
- if (a.DeclaringMethod != b.DeclaringMethod &&
- (a.DeclaringMethod == null || b.DeclaringMethod ==
null))
- return false;
+ // TODO: needs more testing before cleaning up
+ //if (a.DeclaringMethod != b.DeclaringMethod &&
+ // (a.DeclaringMethod == null || b.DeclaringMethod
== null))
+ // return false;
return a.GenericParameterPosition ==
b.GenericParameterPosition;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches