blob: ee648e6cef150eb2e90d8f62cfcbccdb14df0141 (
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 `U'
// Line: 12
interface I
{
}
class Program
{
bool Test<T, U> (T t, U u) where T : I where U : I
{
return t == u;
}
}
|