The {0} operand of {1} is not valid because its type '{2}' cannot be compared for equality. Only primitive, enumeration, ...