2010-03-02 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / errors / cs0068.cs
blobbbf4cbaadcee91f95e8b4b23d16006ab336ce746
1 // cs0068.cs: `IFoo.OnFoo': event in interface cannot have initializer
2 // Line: 14
4 using System;
6 class ErrorCS0068 {
7 public delegate void FooHandler ();
8 public void method () {}
9 public static void Main () {
13 interface IFoo {
14 event ErrorCS0068.FooHandler OnFoo = new ErrorCS0068.FooHandler (ErrorCS0068.method);