Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 18, 2025

Backport of #119838 to release/9.0-staging

/cc @eiriktsarpalis @copilot

Customer Impact

  • Customer reported
  • Found internally

We regressed the behavior of the DefaultIfEmpty LINQ method resulting in incorrect results when chained with ElementAtOrDefault using an out of bounds index.

Regression

  • Yes
  • No

#98969

Testing

Added unit testing verifying the impacted behavior.

Risk

Low. Applies a straightforward fix to a simple bug.

@eiriktsarpalis eiriktsarpalis added this to the 9.0.x milestone Sep 18, 2025
@eiriktsarpalis eiriktsarpalis self-assigned this Sep 18, 2025
@eiriktsarpalis eiriktsarpalis added Servicing-consider Issue for next servicing release review area-System.Linq labels Sep 18, 2025
@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.

@eiriktsarpalis eiriktsarpalis added api-approved API was approved in API review, it can be implemented and removed Servicing-consider Issue for next servicing release review labels Sep 18, 2025
@eiriktsarpalis
Copy link
Member

Approved over email.

@eiriktsarpalis eiriktsarpalis enabled auto-merge (squash) September 19, 2025 10:10
@eiriktsarpalis
Copy link
Member

/ba-g known test failures.

@eiriktsarpalis eiriktsarpalis merged commit b9b65b6 into release/9.0-staging Sep 23, 2025
89 of 99 checks passed
@eiriktsarpalis eiriktsarpalis deleted the backport/pr-119838-to-release/9.0-staging branch September 23, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Linq Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants