Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs1978-2.cs
1 // CS1978: An expression of type `void' cannot be used as an argument of dynamic operation
2 // Line: 9
3
4 class C
5 {
6         public static void Main ()
7         {
8                 dynamic d = null;
9                 d (Main ());
10         }
11 }