private bool IsPrimitiveComparison(IType lhs, IType rhs) { if (IsPrimitiveNumberOrChar(lhs) && IsPrimitiveNumberOrChar(rhs)) return true; if (IsBool(lhs) && IsBool(rhs)) return true; return false; }