Author: alp
Date: 2005-04-07 20:32:15 -0400 (Thu, 07 Apr 2005)
New Revision: 42672
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/pending.cs
Log:
2005-04-08 Alp Toker <[EMAIL PROTECTED]>
* pending.cs: The fix to #58413 failed to compile methods implementing
interfaces with/without params modifiers and vice versa, even though
params modifiers aren't part of the signature. Make the modifier check
less strict as in csc.
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2005-04-08 00:30:53 UTC (rev 42671)
+++ trunk/mcs/mcs/ChangeLog 2005-04-08 00:32:15 UTC (rev 42672)
@@ -1,3 +1,10 @@
+2005-04-08 Alp Toker <[EMAIL PROTECTED]>
+
+ * pending.cs: The fix to #58413 failed to compile methods implementing
+ interfaces with/without params modifiers and vice versa, even though
+ params modifiers aren't part of the signature. Make the modifier check
+ less strict as in csc.
+
2005-04-07 Abin Thomas <[EMAIL PROTECTED]>
Anoob V E <[EMAIL PROTECTED]>
Harilal P R <[EMAIL PROTECTED]>
Modified: trunk/mcs/mcs/pending.cs
===================================================================
--- trunk/mcs/mcs/pending.cs 2005-04-08 00:30:53 UTC (rev 42671)
+++ trunk/mcs/mcs/pending.cs 2005-04-08 00:32:15 UTC (rev 42672)
@@ -430,7 +430,10 @@
for (j = 0; j < top; j++)
if (tm.args [i][j] !=
args.ParameterType (j) ||
- tm.mods [i][j] !=
args.ParameterModifier (j))
+ (tm.mods [i][j]
!= args.ParameterModifier (j) &&
+ tm.mods [i][j]
!= Parameter.Modifier.PARAMS &&
+
args.ParameterModifier (j) != Parameter.Modifier.PARAMS)
+ )
break;
if (j != top)
continue;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches