commandlineparser / commandlineparser/commandline

Is there a reason to forbid to have sequence with zero range?

Ouverte
#824 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C#
Étoiles
4.8k
Forks
478
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

In our project we would like to have the ability to have IEnumerable Option with zero range. However, it`s not possible even though Min = 0 is set. There is the guard (GuardAgainstSequenceWithZeroRange) which checks that.

Is there a reason to forbid to have a sequence with zero range? Why don`t we allow to have a sequence with zero range if the Min property is set?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.