[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / test-null-operator-20.cs
blobd22f9624a0b4d7a30405ae9e976885932f5fe687
1 class M
3 public static void Main ()
5 string s = null;
6 s?.CompareTo ("xx").CompareTo(s?.EndsWith ("x")).GetHashCode ();
8 string s1 = "abcd";
9 string s2 = null;
11 var idx = s1.Substring(1)[s2?.GetHashCode () ?? 0].GetHashCode ();