-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[StyleCleanUp] Use compound assignment (IDE0054) #10620
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
Conversation
I wonder why that one doesn't trigger an error during compilation since its warning level. But I guess IDE0074's suggestion overrides that.
Or maybe since both IDE0054 and IDE0074 fall under this. Line 94 in b6914d7
Anyways, LGTM though I firmly believe some simply hurt readibility in pursuit of shorter line haha. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10620 +/- ##
===================================================
+ Coverage 10.95887% 11.21257% +0.25370%
===================================================
Files 3310 3310
Lines 664667 664665 -2
Branches 74667 74667
===================================================
+ Hits 72840 74526 +1686
+ Misses 590685 588907 -1778
- Partials 1142 1232 +90
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
0010ddc
to
d73f0c0
Compare
Thanks @jizc for your contribution. |
Thank you for merging! |
Fixes #10619
Description
Fixes all
IDE0054
warnings by switching to compound assignment. All changes were automated, with the exception of restoring comments inPopup.cs
, and the removal of redundant braces (second commit).Customer Impact
Cleaner codebase for developers.
Regression
No.
Testing
Local build.
Risk
None.
Microsoft Reviewers: Open in CodeFlow