[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / test-null-operator-24.cs
blob77ce5d955fbf12b000d4c86c8dc91ebc8e0454b0
1 using System;
3 class X
5 public int Field { get; set; }
7 public int F3 { get; set; }
10 class App
12 static void Main()
14 string s = null;
15 var x = new X {
16 Field = s?.ToString () == null ? 1 : 2
17 }.F3;