a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
297 B
C#
12 lines
297 B
C#
// CS0507: `Class2.GetString()': cannot change access modifiers when overriding `protected internal' inherited member `Class1.GetString()'
|
|
// Line: 7
|
|
// Compiler options: -r:CS0507-7-lib.dll
|
|
|
|
public sealed class Class2 : Class1
|
|
{
|
|
protected override string GetString ()
|
|
{
|
|
return "Hello2";
|
|
}
|
|
}
|