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

class A
{
	public abstract class Adapter
	{
	}
}

class B : A
{
	public int Adapter { get; set; }
}