[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1986-2.cs
blob13682461287a34c2c99eb5630067be6c3e68d631
1 // CS1986: The `await' operand type `int' must have suitable GetAwaiter method
2 // Line: 15
4 static class S
6 public static void GetAwaiter (this int i)
11 class A
13 static async void Test ()
15 await 1;