Merge pull request #4202 from marek-safar/compression
[mono-project.git] / mcs / errors / cs1715-2.cs
blob9937532079f391881ebdb37fdbb59909d988e57d
1 // CS1715: `DerivedClass.Prop': type must be `System.EventHandler' to match overridden member `BaseClass.Prop'
2 // Line: 9
4 using System;
6 class BaseClass {
7 protected virtual event EventHandler Prop;
10 delegate void TestD ();
12 class DerivedClass: BaseClass {
13 protected override event TestD Prop;