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: b77b72407d7edd5ff6928a733f3483e5f5fbd34c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// cs0050.cs: Inconsistent accessibility. Return type less accessible than method.
// 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 ();
	}
}