Merge pull request #5082 from kumpera/fix-ro-fs-file-delete
[mono.git] / mcs / errors / cs0019-72.cs
1 // CS0019: Operator `??' cannot be applied to operands of type `void' and `throw expression'
2 // Line: 20
3
4 class C
5 {
6         public static void Main ()
7         {
8                 var s = Main () ?? throw null;
9         }
10 }