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

using System;

class ErrorCS0069 {
	public delegate void FooHandler ();
	public static void Main () {
	}
}

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