Skip to content

Use collection expression in foreach in CreateManifestAndDescriptors - #93289

Merged
stephentoub merged 1 commit into
dotnet:mainfrom
stephentoub:avoidstringarray
Oct 11, 2023
Merged

Use collection expression in foreach in CreateManifestAndDescriptors#93289
stephentoub merged 1 commit into
dotnet:mainfrom
stephentoub:avoidstringarray

Conversation

@stephentoub

Copy link
Copy Markdown
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

ghost commented Oct 10, 2023

Copy link
Copy Markdown

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: -

@tarekgh tarekgh left a comment

Copy link
Copy Markdown
Member

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
@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