[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0188-10.cs
blobeadb0a8776014d50c89234ff124abd9ba5c21ca3
1 // CS0188: The `this' object cannot be used before all of its fields are assigned to
2 // Line: 10
4 struct S
6 public int x;
8 S (dynamic d)
10 Foo (d);
11 x = 44;
14 void Foo (int a)