mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
18 lines
290 B
C#
18 lines
290 B
C#
// cs0071.cs: 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 () { }
|
|
public static void Main () {
|
|
}
|
|
}
|
|
|