blob: a97ed819ad14e11590047df0f2cc8ce4039b984d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// CS0050: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()'
// Line: 13
using System;
class X {
public X ()
{
}
}
public class Foo {
public static X Bar () {
return new Foo ();
}
public static void Main () {
Foo x = Bar ();
}
}
|