blob: beb4ead90bd9b81f321aa35d047dcdf81c7c4ef9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// CS0108: `Outer.Inner' hides inherited member `Base.Inner'. Use the new keyword if hiding was intended
// Line: 13
// Compiler options: -warnaserror -warn:2
public class Base
{
public int Inner { set { } }
}
class Outer: Base
{
public void M () {}
public class Inner
{
}
}
|