summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1019.cs
blob: a767e90372bf56f14d222989bf2b1b0cab2c8f0d (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
// CS1019: Overloadable unary operator expected
// Line: 18

public class MyClass {

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

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

	public static MyClass operator/ (MyClass i)
	{
	
	}

	public static implicit operator MyClass (Object o)
	{

	}
}