a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
317 B
C#
18 lines
317 B
C#
// CS1715: `DerivedClass.Prop': type must be `System.EventHandler' to match overridden member `BaseClass.Prop'
|
|
// Line: 9
|
|
|
|
using System;
|
|
|
|
class BaseClass {
|
|
protected virtual event EventHandler Prop;
|
|
}
|
|
|
|
delegate void TestD ();
|
|
|
|
class DerivedClass: BaseClass {
|
|
protected override event TestD Prop;
|
|
}
|
|
|
|
|
|
|