2007-07-17 Marek Safar <marek.safar@gmail.com>
authorMarek Safar <marek.safar@gmail.com>
Tue, 17 Jul 2007 08:22:52 +0000 (08:22 -0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 17 Jul 2007 08:22:52 +0000 (08:22 -0000)
* cs-parser.jay: Correct placeholder for implicit linq parameter.

* linq: Add ImplicitArgument.

svn path=/trunk/mcs/; revision=82080

mcs/gmcs/ChangeLog
mcs/gmcs/linq.cs

index fdec3a0abd4d4a9c1660e6ed81a308d831c22017..a250b1d129ac92fb4b26509bfaad0fccaa1cd454 100644 (file)
@@ -1,3 +1,9 @@
+2007-07-17  Marek Safar  <marek.safar@gmail.com>
+
+       * cs-parser.jay: Correct placeholder for implicit linq parameter.
+       
+       * linq: Add ImplicitArgument.
+
 2007-07-03  Marek Safar  <marek.safar@gmail.com>
 
        * cs-parser.jay: Switch to ImplicitLambdaParameter.
index e6437f8d4d36ae46cad6a8cbbe8db496c926830d..9160ba67241c09f952522d6a6f5ac18293f1186e 100644 (file)
@@ -232,4 +232,23 @@ namespace Mono.CSharp.Linq
                        get { return "Where"; }
                }
        }
+       
+       public class ImplicitArgument : Expression
+       {
+               public static ImplicitArgument Instance = new ImplicitArgument ();
+
+               private ImplicitArgument ()
+               {
+               }
+
+               public override Expression DoResolve (EmitContext ec)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public override void Emit (EmitContext ec)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
 }