Cannot infer a common type for the first and second operands of the binary 'If' operator. One must have a widening conversion ...