[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs4009.cs
blobf628c3648db360d55a47a7649873b2aafb7c24ba
1 // CS4009: `C.Main()': an entry point cannot be async method
2 // Line: 8
4 class C
6 public static async void Main ()
8 await Call ();
11 static async void Call ()