a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
316 B
C#
14 lines
316 B
C#
// CS0507: `DerivedClass.Test': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Test'
|
|
// Line: 11
|
|
|
|
using System;
|
|
|
|
class BaseClass {
|
|
protected virtual event EventHandler Test;
|
|
}
|
|
|
|
class DerivedClass: BaseClass {
|
|
public override sealed event EventHandler Test;
|
|
}
|
|
|