[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-null-operator-07.cs
blobec9ced5ea04ff490d19ba5e77ba37b03a466206c
1 using System;
3 public static class C
5 static int Main()
7 int[] a = null;
8 var r = a?.EM ().EM ().EM () ?? "N";
9 if (r != "N")
10 return 1;
12 a?.EM ().EM ();
14 return 0;
17 static string EM (this object arg)
19 if (arg == null)
20 throw new ApplicationException ();
22 return "";