JasonBock / SpackleNet

Spackle is a project that contains a number of helper methods I've used to supplement the core classes in .NET.
MIT License
14 stars 1 forks source link

Consider Changing `Range` Extensions to Use Exclusive `End` Value #41

Closed JasonBock closed 1 year ago

JasonBock commented 1 year ago

I just realized that I think all the Range extension methods treat End as an inclusive value, but according to the docs, it's clearly meant to be exclusive. This may end up being a breaking change for these APIs, but it's the right thing to do.

JasonBock commented 1 year ago

This has basically turned into "obsolete all the Range extensions and make them available on the Range<T> type in Spackle". That's where all of this should have been done in the first place.