[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0118.cs
blobb7cd4195c656025f850c50c799d8ecc606896666
1 // CS0118: `X.s' is a `field' but a `type' was expected
2 // Line: 6
3 class X {
4 string s;
6 s MyProperty {
7 get {
8 return s;