Skip to content

Prefer use of interpolated strings in System.Xaml #8615

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

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

halgab
Copy link
Contributor

@halgab halgab commented Dec 30, 2023

See #8519

Description

We replace as many manual string concatenations and string.Format with interpolated strings. This saves allocations in many instances, and makes for a more readable code.

Customer Impact

Less allocations

Regression

No

Testing

CI

Risk

Low. Most changes are automated using the IDE

Microsoft Reviewers: Open in CodeFlow

@ghost ghost assigned halgab Dec 30, 2023
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Dec 30, 2023
@ghost ghost requested review from dipeshmsft and singhashish-wpf December 30, 2023 17:38
@ghost ghost added the Community Contribution A label for all community Contributions label Dec 30, 2023
@halgab halgab marked this pull request as ready for review December 30, 2023 18:09
@halgab halgab requested a review from a team as a code owner December 30, 2023 18:09
@halgab halgab changed the title Prefer use interpolated strings in System.Xaml Prefer use of interpolated strings in System.Xaml Dec 30, 2023
rchauhan18
rchauhan18 previously approved these changes Jan 18, 2024
@halgab
Copy link
Contributor Author

halgab commented Jan 18, 2024

I've just noticed there are merge conflicts. I'll try to resolve them by the end of the day

@halgab halgab force-pushed the interpolated-string-xaml branch from b5ded84 to 6d5f2bf Compare January 18, 2024 20:55
@halgab halgab requested a review from a team as a code owner August 27, 2024 20:34
@harshit7962 harshit7962 merged commit 3ee78d6 into dotnet:main Sep 18, 2024
8 checks passed
@harshit7962
Copy link
Member

@halgab Thank you for your contribution.

@halgab halgab deleted the interpolated-string-xaml branch September 22, 2024 21:12
@github-actions github-actions bot locked and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants