2009-07-11 Michael Barker <mike@middlesoft.co.uk>
[mono.git] / mcs / errors / gcs0853.cs
1 // CS0853: An expression tree cannot contain named argument
2 // Line: 15
3 // Compiler options: -langversion:future
4
5 using System;
6 using System.Linq.Expressions;
7
8 class M
9 {
10         static void Named (int i)
11         {
12         }
13         
14         public static void Main ()
15         {
16                 Expression<Action> e = () => Named (i : 1);
17         }
18 }