[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs4011-2.cs
blobc4bc3c88be963180c4c786e28c3fef0032a0b73a
1 // CS4011: The awaiter type `int' must have suitable IsCompleted and GetResult members
2 // Line: 16
4 static class S
6 public static int GetAwaiter (this int i)
8 return 1;
12 class A
14 static async void Test ()
16 await 9;