summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0109-9.cs
blob: fef7758c744d3e6d920119ce852d67a0f6149dc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0109: The member `Derived.Action<T,U>' does not hide an inherited member. The new keyword is not required
// Line: 12
// Compiler options: -warnaserror -warn:4

public abstract class Base
{
	public delegate void Action<U> (U val);
}

public class Derived : Base
{
	public new delegate void Action<T, U> (U val);
}