Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0050-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e556bb3d6b9de384801a1a6c8961e498acbc3aff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs0050-2.cs: 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 () {}
}