-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Fix RCS1221: Use pattern matching instead of combination of 'as' operator and null check #13333
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
65557c3 to
03e25bf
Compare
|
Reverted IDE0019 commits due to high number of issues. |
|
PR is ready for review |
|
@iSazonov Can you review? |
iSazonov
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.
LGTM with one comment.
|
@PowerShell/powershell-maintainers reviewed this PR and agreed to accept it for 7.2-preivew. So we should delay merging it until after 7.1-RC1 release branch gets created.
|
|
Set 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. |
|
@iSazonov Please restart |
|
Restarted CI Windows. |
|
@iSazonov It seems Github is still reporting the old |
|
@iSazonov Should I fix pre-existing Codacy issues : |
In follow PR only. |
I don't see the change in the PR but we can do this later and I am ready to merge. |
I think this change was removed in a rebase to refocus the PR. Further |
|
@xtqqczze Do you think about forcing Roslynator rules? We could add new GitHub Check. |
All? |
Many RCSXXXX rules have crossover with IDEXXXX and CAXXXX. If we also add StyleCop analyzers package like in #13963 we can likely cover most scenarios. |
|
🎉 Handy links: |
PR Summary
PR Context
is notsyntax and remove unnecessary parentheses #13323PR 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