Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0069.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 92114bf751d0ab61ae50c9b34b1f37e0fe6a55f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0069.cs: Event cannot have add or remove accessors in an interface.
// Line: 13

using System;

public delegate void FooHandler ();

interface IBar {
	event FooHandler OnFoo {
		add { }
		remove { }
	}
}