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

cs0050.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: de4fce66a53957804fe7559c971128aa0b8f0372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs0050.cs: Inconsistent accessibility. Return type less accessible than method.
// Line: 7

using System;

class Foo {
	public static Foo Bar () {
		return new Foo ();
	}

	public static void Main () {
		Foo x = Bar ();
	}
}