Author: marek
Date: 2007-10-11 13:11:16 -0400 (Thu, 11 Oct 2007)
New Revision: 87344
Modified:
trunk/mcs/gmcs/ChangeLog
trunk/mcs/gmcs/generic.cs
Log:
2007-10-11 Marek Safar <[EMAIL PROTECTED]>
* generics.cs (InferTypeArguments): Removed redundant check.
Modified: trunk/mcs/gmcs/ChangeLog
===================================================================
--- trunk/mcs/gmcs/ChangeLog 2007-10-11 17:09:58 UTC (rev 87343)
+++ trunk/mcs/gmcs/ChangeLog 2007-10-11 17:11:16 UTC (rev 87344)
@@ -1,5 +1,9 @@
2007-10-11 Marek Safar <[EMAIL PROTECTED]>
+ * generics.cs (InferTypeArguments): Removed redundant check.
+
+2007-10-11 Marek Safar <[EMAIL PROTECTED]>
+
* cs-parser.jay: Added couple of ISO-2 checks.
* linq.cs: Report range variable error message.
Modified: trunk/mcs/gmcs/generic.cs
===================================================================
--- trunk/mcs/gmcs/generic.cs 2007-10-11 17:09:58 UTC (rev 87343)
+++ trunk/mcs/gmcs/generic.cs 2007-10-11 17:11:16 UTC (rev 87344)
@@ -2351,9 +2351,6 @@
ArrayList arguments,
ref MethodBase method)
{
- if (!TypeManager.IsGenericMethod (method))
- return true;
-
ATypeInference ti = ATypeInference.CreateInstance
(arguments);
Type[] i_args = ti.InferMethodArguments (ec, method);
if (i_args == null)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches