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
(DISTFILES): Comment out a few missing files.
[mono-project.git]
/
mcs
/
errors
/
cs0050.cs
blob
b77b72407d7edd5ff6928a733f3483e5f5fbd34c
1
// cs0050.cs: Inconsistent accessibility. Return type less accessible than method.
2
// Line: 13
3
4
using
System
;
5
6
class
X
{
7
public
X
()
8
{
9
}
10
}
11
12
public class
Foo
{
13
public static
X
Bar
() {
14
return new
Foo
();
15
}
16
17
public static void
Main
() {
18
Foo x
=
Bar
();
19
}
20
}
21