repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0051.cs
blob
e051c7a3b7d99c20cfd7dd14503f5b689a904ac6
1
// cs0051.cs: 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
}