a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
245 B
C#
17 lines
245 B
C#
// CS0507: `Bar.X()': cannot change access modifiers when overriding `protected internal' inherited member `Foo.X()'
|
|
// Line: 13
|
|
|
|
class Foo
|
|
{
|
|
protected internal virtual void X ()
|
|
{
|
|
}
|
|
}
|
|
|
|
class Bar : Foo
|
|
{
|
|
protected override void X ()
|
|
{
|
|
}
|
|
}
|