Merge pull request #3997 from lateralusX/jlorenss/win-api-family-support-safearray
[mono.git] / mcs / errors / cs0019-46.cs
1 // CS0019: Operator `==' cannot be applied to operands of type `method group' and `method group'
2 // Line: 8
3
4 public class C
5 {
6         public static void Main ()
7         {
8                 bool a = DelegateMethod == DelegateMethod;
9         }
10
11         static int DelegateMethod(bool b)
12         {
13                 return 3;
14         }       
15 }