2005-06-29 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git] / errors / cs0115-3.cs
blob5e1c80dc3ec6df2e91069349a29d74bbfc412044
1 // cs0115-3.cs: `MyTestExtended.GetName()': no suitable method found to override
2 // Line: 12
3 // Compiler options: -r:CS0534-4-lib.dll
5 using System;
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();
17 test.PrintName();
18 Console.WriteLine("Out of PrintName");