[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0236-4.cs
bloba28152ea2a80d85f37e3dab405cc5223708df351
1 // CS0236: A field initializer cannot reference the nonstatic field, method, or property `C.stuff'
2 // Line: 6
4 class C
6 object stuff = stuff;
8 public C (object stuff)