Add generic version of Sequence for any number type#893
Add generic version of Sequence for any number type#893atifaziz merged 8 commits intomorelinq:masterfrom
Sequence for any number type#893Conversation
399fbc4 to
f1bf4e8
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #893 +/- ##
==========================================
- Coverage 93.23% 93.22% -0.01%
==========================================
Files 112 112
Lines 3400 3410 +10
Branches 962 962
==========================================
+ Hits 3170 3179 +9
- Misses 214 215 +1
Partials 16 16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
Approved in principle. Will wait to give final approval. |
viceroypenguin
left a comment
There was a problem hiding this comment.
This PR should wait until v4.0.0, along with .net7 release. Expectation is that v3.4.0 is existing changes plus nullability fixes to include at most .net6 (including conflicting behavior in certain methods). Future improvements should be delayed until after 3.4.0 is released.
…quence Conflicts resolved: - MoreLinq/MoreLinq.csproj
This PR adds a generic version of
Sequenceas described in #892.Under .NET 7,
Sequence(int, int, int)defers toSequence<T>(T, T, T)and is therefore tested for whenTisint.