3.0.0
New
- Enabled C# 8 nullability analysis and annotations
- The type returned by
WithIndex
now has a deconstructor, allowing this kind of usage:foreach (var (item, index) in collection.WithIndex()) { ... }
- Improved performance of
WithIndex
, with specific overloads for array andList<T>
.
Breaking changes
- The
IIndexedItem<T>
interface has been replaced with anItemWithIndex<T>
struct, for performance reasons