summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0108-15.cs
blob: 4584b10cf22dfcb951a5183c4fb8a40c008a7efd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0118: `B.Factory' hides inherited member `A.Factory(object)'. Use the new keyword if hiding was intended
// Line: 12
// Compiler options: -warnaserror -warn:2

public abstract class A
{
	public void Factory (object data) { }
}

public class B : A
{
	public delegate void Factory (object data, object fail);
}