summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1609.cs
blob: 58a219a5c37d9a9e5bd5cdb08345eab4253444ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS1609: Modifiers cannot be placed on event accessor declarations
// Line: 9

delegate int d();

class C
{
	public event d E {
		private  add {}
		remove {}
	}
}