1 // CS0507: `Class2.GetString()': cannot change access modifiers when overriding `protected internal' inherited member `Class1.GetString()'
3 // Compiler options: -r:CS0507-7-lib.dll
5 public sealed class Class2
: Class1
7 protected override string GetString ()