a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
309 B
C#
20 lines
309 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 => Method ();
|
|
}
|
|
}
|