Files
mono/mcs/errors/cs0068.cs
T
Marek Safar f3a7b5e02c Updated to be more consistent
svn path=/trunk/mcs/; revision=45861
2005-06-13 12:15:59 +00:00

16 lines
324 B
C#

// cs0068.cs: `IFoo.OnFoo': event in interface cannot have initializer
// Line: 14
using System;
class ErrorCS0068 {
public delegate void FooHandler ();
public void method () {}
public static void Main () {
}
}
interface IFoo {
event ErrorCS0068.FooHandler OnFoo = new ErrorCS0068.FooHandler (ErrorCS0068.method);
}