Skip to content

Conversation

@agocke
Copy link
Member

@agocke agocke commented Aug 18, 2025

Caught by #118156 (comment)

Copilot AI review requested due to automatic review settings August 18, 2025 04:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes an incorrect assertion that was requiring the source collection to have a count greater than zero, which was overly restrictive for the SizeOptIListWhereIterator constructor.

  • Removes the source.Count > 0 condition from the debug assertion while keeping the null check

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-linq
See info in area-owners.md if you want to be subscribed.

@agocke agocke merged commit d521402 into dotnet:main Aug 18, 2025
87 of 89 checks passed
@agocke agocke deleted the fix-assert branch August 18, 2025 20:15
agocke added a commit to agocke/runtime that referenced this pull request Aug 18, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Sep 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants