Merge pull request #3766 from BrzVlad/feature-default-conc
[mono.git] / mcs / errors / cs0019-54.cs
1 // CS0019: Operator `==' cannot be applied to operands of type `A.D' and `anonymous method'
2 // Line: 11
3
4 class A
5 {
6         delegate void D ();
7
8         static void Main ()
9         {
10                 D d = null;
11                 bool r = d == (() => { });
12         }
13 }