Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

20 lines
315 B
C#

// CS1989: Async lambda expressions cannot be converted to expression trees
// Line: 17
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
class C
{
static Task Method ()
{
return null;
}
public static void Main ()
{
Expression<Action<int>> a = async l => await Method ();
}
}