a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
274 B
C#
16 lines
274 B
C#
// CS0071: `ErrorCS0071.IFoo.OnFoo': An explicit interface implementation of an event must use property syntax
|
|
// Line: 13
|
|
|
|
using System;
|
|
|
|
public delegate void Foo (object source);
|
|
|
|
interface IFoo {
|
|
event Foo OnFoo;
|
|
}
|
|
|
|
class ErrorCS0071 : IFoo {
|
|
event Foo IFoo.OnFoo;
|
|
}
|
|
|