blob: 95d03e19d845d461e757909cf4246c7db27ef97b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// CS0019: Operator `!=' cannot be applied to operands of type `Test.DelegateA' and `Test.DelegateB'
// Line: 13
using System;
public class Test
{
public delegate int DelegateA(bool b);
public delegate int DelegateB(bool b);
static bool TestCompare (DelegateA a, DelegateB b)
{
return a != b;
}
}
|