commandlineparser / commandlineparser/commandline

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

Open
#824 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.