[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs4001.cs
blobcd5f6c237338c85d9f4d7031f7c10a8fc5da9d28
1 // CS4001: Cannot await `void' expression
2 // Line: 10
4 using System;
6 class A
8 static async void Test ()
10 await Console.WriteLine ("await");