summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-5.cs
blob: 24451df25831b8ef24f17aa98ad9158709de80fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CS0019: Operator `==' cannot be applied to operands of type `X' and `Y'
// Line : 13

class X {
}

class Y {
}

class T {
	static void Main ()
	{
		X x = new X ();
		Y y = new Y ();

		if (x == y){
		}
	}
}