Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid creating the capture class for calls to WithExtension #5552

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

Erarndt
Copy link
Contributor

@Erarndt Erarndt commented Dec 20, 2023

Bug

Related: NuGet/Home#12748

Regression? Last working version:

Description

Calls to WithExtension() created a closure object to capture the extension string being passed in. We can avoid this by unrolling the LINQ.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@Erarndt Erarndt requested a review from a team as a code owner December 20, 2023 21:44
@ghost ghost added the Community PRs created by someone not in the NuGet team label Dec 20, 2023
@ghost ghost added the Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed label Dec 28, 2023
@ghost
Copy link

ghost commented Dec 28, 2023

This PR has been automatically marked as stale because it has no activity for 7 days. It will be closed if no further activity occurs within another 90 days of this comment. If it is closed, you may reopen it anytime when you're ready again, as long as you don't delete the branch.

@ghost ghost removed the Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed label Jan 2, 2024
@martinrrm martinrrm merged commit ac17919 into NuGet:dev Jan 8, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community PRs created by someone not in the NuGet team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants