summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1020.cs
blob: 45672348bcc8688d4d42c88996c1b1f21458ee34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// CS1020: Overloadable binary operator expected
// Line: 19


public class MyClass {

	public int this[int ndx] 
	{
		get { }
		set { }
	}

	public event EventHandler Click 
	{
		add { } 
		remove { }
	}

	public static MyClass operator++ (MyClass i, MyClass j)
	{
	
	}

	public static implicit operator MyClass (Object o)
	{

	}
}