[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git] / mcs / errors / cs0051.cs
blob4fd47061c059c3b12fa62e5aaf3e8ede64f79e26
1 // CS0051: Inconsistent accessibility: parameter type `MyClass.X' is less accessible than method `MyClass.method(MyClass.X)'
2 // Line: 12
4 public class MyClass {
6 //
7 // To fix change the next line to "public enum X {
8 enum X {
9 a, b
12 public void method (X arg)