1 // CS0115: `MyTestExtended.GetName()' is marked as an override but no suitable method found to override
3 // Compiler options: -r:CS0534-4-lib.dll
6 public class MyTestExtended
: MyTestAbstract
8 public MyTestExtended() : base()
12 protected override string GetName() { return "foo"; }
13 public static void Main(string[] args
)
15 Console
.WriteLine("Calling PrintName");
16 MyTestExtended test
= new MyTestExtended();
18 Console
.WriteLine("Out of PrintName");