Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs1976.cs
1 // CS1976: The method group `Main' cannot be used as an argument of dynamic operation. Consider using parentheses to invoke the method
2 // Line: 9
3
4 class C
5 {
6         public static void Main ()
7         {
8                 dynamic d = null;
9                 d (Main);
10         }
11 }