[mcs] C#7 out variable declaration
[mono.git] / mcs / errors / cs0019-68.cs
1 // CS0019: Operator `==' cannot be applied to operands of type `void' and `null'
2 // Line: 11
3
4 using System;
5
6 class C
7 {
8         public static void Main ()
9         {
10                 Action a = () => {};
11                 bool b = a () == null;
12         }
13 }