summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0058.cs
blob: e5b0d157266455a5c67a37e5af685acf8d02723b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0058: Inconsistent accessibility: return type `ErrorCS0058' is less accessible than delegate `Foo.Delegate'
// Line: 10

using System;

class ErrorCS0058 {
	public ErrorCS0058 () {}
}

public class Foo {
	public delegate ErrorCS0058 Delegate ();

	public static void Main () {
	}
}