[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[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 }