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: 177c0028638fa6643207ffe2cf7079dfcb4a6581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs0051.cs: 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)
	{
	}
}