summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0082-8.cs
blob: f79627e53aca7ae98c3fbea2760cd188fc34b150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0082: A member `Test.add_XX(Test.MyEvent)' is already reserved
// Line: 12

public class Test
{
	public delegate void MyEvent ();
	public event MyEvent XX {
		add { }
		remove { }
	}
        
	public void add_XX (MyEvent e) { return; }
}