avoid Enum.HasFlag which causes boxing