2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / errors / gcs0019-5.cs
1 // CS0019: Operator `==' cannot be applied to operands of type `method group' and `null'
2 // Line: 8\r
3 \r
4 public class C\r
5 {\r
6         public static void Main ()\r
7         {
8                 bool a = DelegateMethod == null;
9         }
10
11         static int DelegateMethod(bool b)
12         {
13                 return 3;
14         }       \r
15 }