Merge pull request #1821 from iainx/replace-getline
[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)