[mcs] Reset also all partial parts current-type
[mono-project.git] / mcs / errors / cs1989.cs
blobebbb9d1b277afaeae9c3be3919e9b1ac24f7ba9a
1 // CS1989: Async lambda expressions cannot be converted to expression trees
2 // Line: 17
4 using System;
5 using System.Linq.Expressions;
6 using System.Threading.Tasks;
8 class C
10 static Task Method ()
12 return null;
15 public static void Main ()
17 Expression<Action<int>> a = async l => await Method ();