blob: 239b702ac492429cbaa571e61b2dd7d5271dc8ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// CS0108: `Derived.Test(bool)' hides inherited member `BaseInterface.Test(bool)'. Use the new keyword if hiding was intended
// Line: 9
// Compiler options: -warnaserror -warn:2 -t:library
interface BaseInterface {
void Test (bool arg);
}
interface Derived : BaseInterface {
void Test (bool arg);
}
|