Bump NuGet.BuildTasks to get new updates and switch to `dev` branch (#5566)
[mono.git] / mcs / errors / cs1986.cs
1 // CS1986: The `await' operand type `A' must have suitable GetAwaiter method
2 // Line: 17
3
4 static class S
5 {
6         public static void GetAwaiter (this int i)
7         {
8         }
9 }
10
11 class A
12 {
13         bool GetAwaiter;
14         
15         static async void Test ()
16         {
17                 await new A ();
18         }
19 }