summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0069.cs
blob: 70511c3c96d37e052206075fecce39777d0de9c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0069: Event in interface cannot have add or remove accessors
// Line: 13

using System;

public delegate void FooHandler ();

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