commandlineparser / commandlineparser/commandline

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

Aperta
#824 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.