[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0571-3.cs
blob0f4ed5357dca48d3bed988cbd74464bb1307f625
1 // CS0571: `Test.C0.foo.get': cannot explicitly call operator or accessor
2 // Line: 12
3 // Compiler options: -r:CS0571-3-lib.dll
5 // Testcase for bug #59980
7 using Test;
9 public class EntryPoint {
10 public static int Main () {
11 C1 foo = new C2 ();
12 return foo.get_foo ();