public static bool IsIntegerOrStringEnum(this DefinitionBase definition) => definition.IsEnum() && definition.Type == TypeKind.integer;