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