public bool CanBeExplicitlyCastToPrimitiveNumber(IType type) { return type.IsEnum || type == CharType; }