Bump API snapshot submodule
[mono.git] / mcs / errors / cs0114-2.cs
1 // CS0114: `B.MyEvent' hides inherited member `A.MyEvent'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
2 // Line: 12
3 // Compiler options: -warnaserror -warn:2
4
5 using System;
6
7 abstract class A {
8         public abstract event EventHandler MyEvent;
9 }
10
11 class B : A {
12         public event EventHandler MyEvent;
13 }