[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1547-10.cs
blob62c7846b1bebe0238fb3232a4546a59830afdab9
1 // CS1547: Keyword `void' cannot be used in this context
2 // Line: 10
3 class Foo<T>
4 { }
6 class X
8 static void Main ()
10 Foo<void> foo;