[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0122-13.cs
blob5925d457c5ee05e0393af0585dabfb1c8628366b
1 // CS0122: `Test.foo' is inaccessible due to its protection level
2 // Line: 10
4 internal class Test
6 protected const int foo = 0;
8 internal class Rest
10 protected const int foo = Test.foo;
12 static void Main () {}