Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0019-53.cs
1 // CS0019: Operator `??' cannot be applied to operands of type `null' and `method group'
2 // Line: 8
3
4 class C
5 {
6         delegate void D ();
7
8         static void Main ()
9         {
10                 D d = null ?? Main;
11         }
12 }