[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / errors / cs1986.cs
blobb053d431e3e8389ca34ec76abe185f05710622b2
1 // CS1986: The `await' operand type `A' must have suitable GetAwaiter method
2 // Line: 17
4 static class S
6 public static void GetAwaiter (this int i)
11 class A
13 bool GetAwaiter;
15 static async void Test ()
17 await new A ();