summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-42.cs
blob: e36bed4fb0acbcc7c0edab6842395504c62231ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0019: Operator `==' cannot be applied to operands of type `T' and `T'
// Line: 5
public class TestClass<T>
{
	public bool Check (T x, T y) { return x == y; }
}

public class X
{
	static void Main ()
	{ }
}