blob: 50bef0aaa87baccfd68bd1732015b589d07c7431 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// CS0050: Inconsistent accessibility: return type `ErrorCS0052' is less accessible than method `Foo.Method()'
// Line: 10
using System;
class ErrorCS0052 {
}
public class Foo {
public ErrorCS0052 Method () {
Console.WriteLine ("The compile should advice the return type of this method is less accessible than the method.");
}
public static void Main () {}
}
|