Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0068.cs
blobf53f341847bc41b5aca767c381059c6f9cb931f4
1 // CS0068: `IFoo.OnFoo': event in interface cannot have an 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);