Merge pull request #5082 from kumpera/fix-ro-fs-file-delete
[mono.git] / mcs / errors / cs0854.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         static void Optional (int i, string s = "value")
10         {
11         }
12         
13         public static void Main ()
14         {
15                 Expression<Action> e = () => Optional (1);
16         }
17 }