summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0109-10.cs
blob: 4cd7feac9bd3b4eef249bf3ecfcc51adce06577a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0109: The member `Derived<U>.Action' 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<U> : Base
{
	new internal Action<U> Action;
}