Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0239.cs
blobcdca1d89f22e6cf9464bd17796547f380a82cad5
1 // CS0239: `X.MyMethod()': cannot override inherited member `Bar.MyMethod()' because it is sealed
2 // Line : 25
4 using System;
6 public class Foo {
8 public virtual void MyMethod ()
10 Console.WriteLine ("This is me !");
14 public class Bar : Foo {
16 public sealed override void MyMethod ()
23 public class X : Bar {
25 public override void MyMethod ()
30 public static void Main ()