2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0071-2.cs
blobb40878f362910b9c3322750f08f24b886e3a71ee
1 // cs0071-2.cs: An explicit interface implementation of an event must use property syntax
2 // Line: 13
4 using System;
6 public delegate void Foo (object source);
8 interface IFoo {
9 event Foo OnFoo;
12 class ErrorCS0071 : IFoo {
13 public event Foo IFoo.OnFoo () { }
14 public static void Main () {