Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / errors / cs0019-65.cs
1 // CS0019: Operator `==' cannot be applied to operands of type `dynamic' and `anonymous method'
2 // Line: 9
3
4 class C
5 {
6         static void Main ()
7         {
8                 dynamic x = null;
9                 var y = x == (() => 1);
10         }
11 }