summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0533-5.cs
blob: 4c395dbd4343ac1ea860c03104c48ddade748f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0533: `DerivedClass.Foo' hides inherited abstract member `BaseClass.Foo()'
// Line: 11

abstract public class BaseClass
{
	abstract protected void Foo ();
}

abstract class DerivedClass: BaseClass
{
	public new int Foo;
}