[mini] Always emit safepoints, except WASM
[mono-project.git] / mcs / errors / cs0122-16.cs
blobcdcfb75d034428fde68b6cff61fa04d557465681
1 // CS0122: `A.x' is inaccessible due to its protection level
2 // Line: 16
4 public class A
6 protected bool x = true;
8 public A()
9 {}
12 public class B
14 public static void Main(string[] args)
16 if (new A().x)
18 System.Console.WriteLine("this should not compile");