linux-packaging-mono/mcs/tests/test-null-operator-12.cs

15 lines
187 B
C#
Raw Normal View History

class Test
{
int? _state;
public bool Working () => _state?.ToString () != "";
public static int Main ()
{
var t = new Test ();
if (!t.Working ())
return 1;
return 0;
}
}