a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
275 B
C#
16 lines
275 B
C#
// 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)
|
|
{
|
|
}
|
|
}
|