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

Use collection expression in foreach in CreateManifestAndDescriptors #93289

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

stephentoub
Copy link
Member

Avoids an unnecessary string[] allocation. It'll instead result in an inline array of the elements.

Avoids an unnecessary string[] allocation. It'll instead result in an inline array of the elements.
@ghost
Copy link

ghost commented Oct 10, 2023

Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti
See info in area-owners.md if you want to be subscribed.

Issue Details

Avoids an unnecessary string[] allocation. It'll instead result in an inline array of the elements.

Author: stephentoub
Assignees: stephentoub
Labels:

area-System.Diagnostics.Tracing

Milestone: -

Copy link
Member

@tarekgh tarekgh left a comment

Choose a reason for hiding this comment

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

@stephentoub stephentoub merged commit 5f4ee51 into dotnet:main Oct 11, 2023
172 of 174 checks passed
@stephentoub stephentoub deleted the avoidstringarray branch October 11, 2023 02:25
@ghost ghost locked as resolved and limited conversation to collaborators Nov 10, 2023
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.

3 participants