[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs1989.cs
1 // CS1989: Async lambda expressions cannot be converted to expression trees
2 // Line: 17
3
4 using System;
5 using System.Linq.Expressions;
6 using System.Threading.Tasks;
7
8 class C
9 {
10         static Task Method ()
11         {
12                 return null;
13         }
14         
15         public static void Main ()
16         {
17                 Expression<Action<int>> a = async l => await Method ();
18         }
19 }