summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0108-18.cs
blob: 51401f6d0d7fd4a6a19b9a976d49fc0c1f184bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0108: `IB.Foo(int)' hides inherited member `IA.Foo'. Use the new keyword if hiding was intended
// Line: 13
// Compiler options: -warnaserror

interface IA
{
	bool Foo { get; }
}

interface IB : IA
{
	new void Foo ();
	void Foo (int a);
}