[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1983.cs
blob76d2db4e677b2eb64ec1615dd49a192f70b6df29
1 // CS1983: The return type of an async method must be void or task type
2 // Line: 6
4 class C
6 public async object Test ()