Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0108-8.cs
blob38cfe450ddc9858b46e843f8f22c74e104b5e9ae
1 // CS0108: `Derived.Method()' hides inherited member `Base.Method()'. Use the new keyword if hiding was intended
2 // Line: 11
3 // Compiler options: -warnaserror -warn:2
5 class Base {
6 public bool Method () { return false; }
7 public void Method (int a) {}
10 class Derived : Base {
11 public void Method () {}