commandline icon indicating copy to clipboard operation
commandline copied to clipboard

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

Open gorsheninmv opened this issue 3 years ago • 0 comments

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?

gorsheninmv avatar Jun 07 '22 11:06 gorsheninmv