summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0069-2.cs
blob: b7ba89c76129174bc59293f042342bc9c7c70a2c (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: 11

using System;

public delegate void FooHandler ();

interface IBar<T>
{
	event FooHandler OnFoo {
		remove { }
	}
}