summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-54.cs
blob: 2e2f5209b5eeb79c987a009d7c4bbdc261dd4c88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0019: Operator `==' cannot be applied to operands of type `A.D' and `anonymous method'
// Line: 11

class A
{
	delegate void D ();

	static void Main ()
	{
		D d = null;
		bool r = d == (() => { });
	}
}