Author: martin
Date: 2005-07-06 10:44:13 -0400 (Wed, 06 Jul 2005)
New Revision: 47005

Modified:
   trunk/mcs/gmcs/ChangeLog
   trunk/mcs/gmcs/generic.cs
Log:
2005-07-06  Martin Baulig  <[EMAIL PROTECTED]>

        * generic.cs (TypeManager.InferTypeArguments): Added support for
        anonymous methods; fixes #75461.



Modified: trunk/mcs/gmcs/ChangeLog
===================================================================
--- trunk/mcs/gmcs/ChangeLog    2005-07-06 14:28:20 UTC (rev 47004)
+++ trunk/mcs/gmcs/ChangeLog    2005-07-06 14:44:13 UTC (rev 47005)
@@ -1,3 +1,8 @@
+2005-07-06  Martin Baulig  <[EMAIL PROTECTED]>
+
+       * generic.cs (TypeManager.InferTypeArguments): Added support for
+       anonymous methods; fixes #75461.
+
 2005-07-01  Martin Baulig  <[EMAIL PROTECTED]>
 
        * iterators.cs (Iterator.CapturedThisReference.Emit): Use

Modified: trunk/mcs/gmcs/generic.cs
===================================================================
--- trunk/mcs/gmcs/generic.cs   2005-07-06 14:28:20 UTC (rev 47004)
+++ trunk/mcs/gmcs/generic.cs   2005-07-06 14:44:13 UTC (rev 47005)
@@ -2177,7 +2177,8 @@
                                param_types [i] = pd.ParameterType (i);
 
                                Argument a = (Argument) arguments [i];
-                               if ((a.Expr is NullLiteral) || (a.Expr is 
MethodGroupExpr))
+                               if ((a.Expr is NullLiteral) || (a.Expr is 
MethodGroupExpr) ||
+                                   (a.Expr is AnonymousMethod))
                                        continue;
 
                                arg_types [i] = a.Type;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to