[Microsoft.CSharp] Replaced with CoreFX implementation
[mono.git] / mcs / tests / test-null-operator-21.cs
1 class X
2 {
3         public object MyChildObject;
4 }
5
6 interface ISomeInterface
7 {
8 }
9
10 class MainClass
11 {
12         public static void Main ()
13         {
14                 X myObject = null;
15                 var x = (myObject?.MyChildObject is ISomeInterface);
16         }
17 }