a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
267 B
C#
14 lines
267 B
C#
// 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;
|
|
}
|
|
}
|