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-04-15 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0050.cs
blob
7d5daad7638a7555cb4c8fc5c50d5188670c2851
1
// cs0050.cs: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()'
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