2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0122-16.cs
blobb0fe186b969b7a20cb598339c03a70b9dfe3dd94
1 // cs0122-16.cs: `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");