Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 24, 2022

Backport of #65569 to release/6.0

/cc @eiriktsarpalis

Customer Impact

Addresses a customer reported regression from .NET 5 (#65419). The inclusion of new FirstOrDefault/SingleOrDefault/LastOrDefault overloads in .NET 6 has surfaced a bug in our Queryable-to-Enumerable method mapping logic in System.Linq.Queryable.

Testing

Added unit tests verifying that the regression no longer occurs.

Risk

Low to moderate. Updates the product code to account for the corner case introduced by the new overloads.

@ghost ghost added the area-System.Linq label Feb 24, 2022
@ghost
Copy link

ghost commented Feb 24, 2022

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

Issue Details

Backport of #65569 to release/6.0

/cc @eiriktsarpalis

Customer Impact

Testing

Risk

IMPORTANT: If this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Linq

Milestone: -

@eiriktsarpalis eiriktsarpalis self-assigned this Feb 24, 2022
@eiriktsarpalis eiriktsarpalis added this to the 6.0.x milestone Feb 24, 2022
@eiriktsarpalis eiriktsarpalis added the Servicing-consider Issue for next servicing release review label Feb 24, 2022
Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

Looks like a clean backport. LGTM

@rbhanda rbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Mar 1, 2022
@rbhanda rbhanda modified the milestones: 6.0.x, 6.0.4 Mar 1, 2022
Copy link
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

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

LGTM -- no need for package authoring as this only ships in framework.

@ericstj
Copy link
Member

ericstj commented Mar 10, 2022

Failure is fixed by #66366

@ericstj ericstj merged commit 0048176 into release/6.0 Mar 10, 2022
@eiriktsarpalis eiriktsarpalis deleted the backport/pr-65569-to-release/6.0 branch March 10, 2022 20:56
@ghost ghost locked as resolved and limited conversation to collaborators Apr 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants