-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Enable IDE0074: Use coalesce compound assignment #13396
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
src/System.Management.Automation/engine/interpreter/AddInstruction.cs
Outdated
Show resolved
Hide resolved
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
Codacy issue is not new. |
|
@TravisEz13 can you please review? |
|
@PowerShell/powershell-maintainers reviewed this PR and agreed to accept it for 7.2-preview, namely delay merging this PR until after 7.1-RC1 release branch gets created. The decision is based on the following reason(s):
|
|
Set to Draft till 7.2 Preview1. |
|
This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 15 days. It will be closed if no further activity occurs within 10 days of this comment. |
|
@xtqqczze Is it still Draft? |
|
rebased to restart tests |
TravisEz13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 11 out of 55 files.
|
@PoshChan Please remind me in 7 days |
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
@xtqqczze Please resolve merge conflicts. |
|
Resolved merge conflicts. |
|
@TravisEz13 Do you want to continue the code review? |
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
@iSazonov Can we merge? |
|
@xtqqczze Perhaps it is because the PR was old. You could ask them https://www.codefactor.io/contact or twitter.
|
Issue opened: codefactor-io/codefactor#27. |
|
🎉 Handy links: |
Originally posted by @kaskas in codefactor-io/codefactor#27 (comment) |
PR Summary
Use C# 8.0 null-coalescing assignment.
PR Context
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0054-ide0074
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.This change is