Recently, while doing input checks I (probably by mistake) typed something like this:
if (someObject is null) { }
instead of classic:
if (someObject == null) { }
I found it more elegant as it is more descriptive by itself. It turns out it behaves correctly (at least on simple cases) and when something is null the expression returns true (and false when it is not).
Does it have any disadvantages over 'classic' way?