Skip to content

3.0.0

Compare
Choose a tag to compare
@thomaslevesque thomaslevesque released this 30 Nov 16:28
· 41 commits to master since this release
4538269

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 and List<T>.

Breaking changes

  • The IIndexedItem<T> interface has been replaced with an ItemWithIndex<T> struct, for performance reasons