[mini] Fix test compiling when running !MOBILE
[mono.git] / mcs / tests / test-null-operator-12.cs
1 class Test
2 {
3         int? _state;
4         public bool Working () => _state?.ToString () != "";
5
6         public static int Main ()
7         {
8                 var t = new Test ();
9                 if (!t.Working ())
10                         return 1;
11
12                 return 0;
13         }
14 }