[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1605.cs
blob4e172cae63ce4a2f3f6fbe32c98890f070c11d7a
1 // CS1605: Cannot pass `this' as a ref or out argument because it is read-only
2 // Line: 13
4 class X
6 void Test (out X x)
8 x = null;
11 void Run ()
13 Test (out this);