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
{{ message }}
Repository navigation
Add IReadOnlyCollection<T> as a optimised path for LINQ methods (e.g. .Count()) #135266
Currently, LINQ has optimised paths for ICollection<TSource>, Iterator<TSource>, and ICollection in the .Count<TSource>(this IEnumerable<TSource>) extension method. These optimised paths can be further expanded to include the IReadOnlyCollection<T>.
Activity
dotnet-policy-service commentedon Oct 6, 2026
Tagging subscribers to this area: @dotnet/area-system-collections
See info in area-owners.md if you want to be subscribed.
huoyaoyuan commentedon Oct 6, 2026
Duplicate of #42254
MihuBot commentedon Oct 6, 2026
I'm a bot. Here are possible related and/or duplicate issues (I may be wrong):