summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0122-6.cs
blob: d0952cfcdf2ccf2c1aa2e513c46cdcb0c9d0dbcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0122: `Test.Foo.IBar' is inaccessible due to its protection level
// Line: 11

public class Test
{
	public class Foo
	{
		protected interface IBar {}
	}
	
	private class Bar : Foo.IBar
	{
	}

	public static void Main () {}
}