wpf icon indicating copy to clipboard operation
wpf copied to clipboard

Prefer use of interpolated strings in PresentationCore

Open halgab opened this issue 1 year ago • 5 comments

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 avatar Dec 30 '23 19:12 halgab

@halgab, can you take a look at the above PR and make the necessary changes ?

dipeshmsft avatar Feb 04 '25 08:02 dipeshmsft

Hi. I'm sorry, I'm not sure when I'll have time to get back to this...

halgab avatar Feb 25 '25 21:02 halgab

@halgab, is it okay we take this up ?

dipeshmsft avatar Feb 26 '25 04:02 dipeshmsft

Yes, of course

halgab avatar Feb 26 '25 22:02 halgab

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.

codecov[bot] avatar Mar 18 '25 07:03 codecov[bot]