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

cs0073.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f7893ab6be5035a90b92ad2c9c19dce393268335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// cs0073.cs: An add or remove accessor must have a body
// Line: 9

using System;

class ErrorCS0073 {
	delegate void Handler ();
	event Handler OnFoo {
		add;
		remove {
			OnFoo -= value;
		}
	}
	public static void Main () {
	}
}