blob: f29dd7b85c9b23ce4da4179aaab764dd95ae7630 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// CS0108: `A.B.AnInt' hides inherited member `A.AnInt'. Use the new keyword if hiding was intended
// Line: 11
// Compiler options: -warnaserror
public abstract class A
{
static readonly int AnInt = 2;
public class B : A
{
static readonly int AnInt = 3;
}
}
|