summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0073.cs
blob: c9a18392853d1623a8b4a938872fba463df0739d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0073: 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 () {
	}
}