Remove no longer needed explicit -langversion:future argument
[mono-project.git] / mcs / errors / cs4010.cs
blob8d352d0492b53da8e1fad7e101af692771f3795a
1 // CS4010: Cannot convert async lambda expression to delegate type `System.Func<bool>'
2 // Line: 16
4 using System;
5 using System.Threading.Tasks;
7 class C
9 static Task<int> GetInt ()
11 return null;
14 public static void Main ()
16 Func<bool> a = async () => { await GetInt (); };