[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git] / mcs / errors / cs0115-3.cs
1 // CS0115: `MyTestExtended.GetName()' is marked as an override but no suitable method found to override
2 // Line: 12
3 // Compiler options: -r:CS0534-4-lib.dll
4
5 using System;
6 public class MyTestExtended : MyTestAbstract
7 {
8         public MyTestExtended() : base()
9         {
10         }
11
12         protected override string GetName() { return "foo"; }
13         public static void Main(string[] args)
14         {
15                 Console.WriteLine("Calling PrintName");
16                 MyTestExtended test = new MyTestExtended();
17                 test.PrintName();
18                 Console.WriteLine("Out of PrintName");
19         }
20         
21 }