Remove no longer needed explicit -langversion:future argument
[mono-project.git] / mcs / errors / cs4011-3.cs
blobba272b989816f48be9cd6de1ac12c9d3723ba6a6
1 // CS4011: The awaiter type `A' must have suitable IsCompleted, OnCompleted, and GetResult members
2 // Line: 16
4 static class S
6 public static A GetAwaiter (this int i)
8 return new A ();
12 class A
14 int IsCompleted {
15 get {
16 return 1;
20 static async void Test ()
22 await 9;