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
[loader] LoadFrom of problematic images should reprobe
[mono-project.git]
/
mcs
/
errors
/
cs0050.cs
blob
a97ed819ad14e11590047df0f2cc8ce4039b984d
1
// CS0050: 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