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: d235699494ed377396b476ce30c3e5dcfd3f21e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0069.cs: Event in interface cannot have add or remove accessors
// Line: 13

using System;

public delegate void FooHandler ();

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