IsNot' operand of type '|1' can be compared only to 'Nothing' because '|1' is a type parameter with no class constraint. ...