**** Merged from MCS ****
[mono-project.git] / mcs / errors / syntax0068.cs
blobf9565ad4a8ee506388959357c0e851a2a4f123d1
1 // cs0068.cs: Event in interface can't 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);