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

class C
{
	static void Main ()
	{
		dynamic x = null;
		var y = x == (() => 1);
	}
}