[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0283-2.cs
blob761563e1bb6c803fb0dd38b35408b70dd93a3ebb
1 // CS0283: The type `S' cannot be declared const
2 // Line: 12
4 struct S
8 class C
10 public void Foo ()
12 const S s = new S();