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: b2793dffc3cc8bd48923d5f2f7d5585e2ea9c63d (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 () {
	}
}