a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
368 B
C#
16 lines
368 B
C#
// 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 () {}
|
|
}
|
|
|