#nullable enable
using System;
public class X {
}
public class Program
{
public static void Main()
object? y = null;
if (y is not X notX){
notX = null;