You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In .NET 6.0, Linq introduces a few new methods that could conflict with Linq.Extras methods or render them obsolete.
Chunk: seems equivalent to Batch. Consider making Batch obsolete in .NET 6 (and maybe delegate the implementation to Chunk, which might have better performance)
Batch will be kept as is, but marked obsolete in the net6.0 TFM
The new ExceptBy and IntersectBy methods in .NET 6.0 don't actually have the same signature as the ones in Linq.Extras. They accept a sequence of TKey as the second parameter, instead of a sequence of TSource. So they don't do exactly the same thing. These methods can be kept in Linq.Extras without causing conflicts.
In .NET 6.0, Linq introduces a few new methods that could conflict with Linq.Extras methods or render them obsolete.
Chunk
: seems equivalent toBatch
. Consider makingBatch
obsolete in .NET 6 (and maybe delegate the implementation toChunk
, which might have better performance)FirstOrDefault
,SingleOrDefault
, andLastOrDefault
withdefaultValue
parameter: already exist in Linq.Extras, will cause conflict in .NET 6.0*By
operators (MaxBy
,MinBy
,DistinctBy
...): already exist in Linq.Extras, will cause conflict in .NET 6.0Hopefully avoid reproducing the issues that happened with
ToHashSet
(#19, #22)...The text was updated successfully, but these errors were encountered: