Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0854-2.cs
1 // CS0854: An expression tree cannot contain an invocation which uses optional parameter
2 // Line: 15
3
4 using System;
5 using System.Linq.Expressions;
6
7 class M
8 {
9         public M (string s = "value")
10         {
11         }
12         
13         public static void Main ()
14         {
15                 Expression<Action> e = () => new M ();
16         }
17 }