Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0122-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d9e9c3d05380a17673c67d3d7d43cec240171d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// cs0122-3.cs: `A.B' is inaccessible due to its protection level
// Line: 11

interface r {
	A.B aaa ();
}

class A {
	enum B {
		D
	}
}

class B {
	static void Main ()
	{
		A.B x = A.B.D;
	}
}