internal static bool IsIntOrEnum(this Type instanceType) { return instanceType.IsEnum() || instanceType.IsInt(); }