[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / test-null-operator-21.cs
blobbb4d04e292632d536a758e0e7872e0f56a4c51a8
1 class X
3 public object MyChildObject;
6 interface ISomeInterface
10 class MainClass
12 public static void Main ()
14 X myObject = null;
15 var x = (myObject?.MyChildObject is ISomeInterface);