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

cs0051.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4fd47061c059c3b12fa62e5aaf3e8ede64f79e26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0051: Inconsistent accessibility: parameter type `MyClass.X' is less accessible than method `MyClass.method(MyClass.X)'
// Line: 12

public class MyClass {

	//
	// To fix change the next line to "public enum X {
	enum X {
		a, b
	}

	public void method (X arg)
	{
	}
}