repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0051.cs
blob
4fd47061c059c3b12fa62e5aaf3e8ede64f79e26
1
// CS0051: Inconsistent accessibility: parameter type `MyClass.X' is less accessible than method `MyClass.method(MyClass.X)'
2
// Line: 12
3
4
public class
MyClass
{
5
6
//
7
// To fix change the next line to "public enum X {
8
enum
X
{
9
a
,
b
10
}
11
12
public void
method
(
X arg
)
13
{
14
}
15
}