wpf
wpf copied to clipboard
Prefer use of interpolated strings in PresentationCore
Follow-up to #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
@halgab, can you take a look at the above PR and make the necessary changes ?
Hi. I'm sorry, I'm not sure when I'll have time to get back to this...
@halgab, is it okay we take this up ?
Yes, of course
Codecov Report
Attention: Patch coverage is 1.11732% with 177 lines in your changes missing coverage. Please review.
Project coverage is 11.45626%. Comparing base (
a354bec) to head (cde707c). Report is 82 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #8616 +/- ##
===================================================
- Coverage 11.54183% 11.45626% -0.08557%
===================================================
Files 3214 3214
Lines 648502 648353 -149
Branches 71510 71552 +42
===================================================
- Hits 74849 74277 -572
- Misses 572401 572912 +511
+ Partials 1252 1164 -88
| Flag | Coverage Δ | |
|---|---|---|
| Debug | 11.35262% <1.11732%> (-0.08662%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.