Skip to content

Enable CA1822: Mark private members as static - #13897

Merged
Rob Holt (rjmholt) merged 5 commits into
PowerShell:masterfrom
xtqqczze:CA1822
Dec 9, 2020
Merged

Rob Holt (rjmholt) merged 5 commits into
PowerShell:masterfrom
xtqqczze:CA1822

Conversation

@xtqqczze

Copy link
Copy Markdown
Contributor

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822

Non-breaking change as only enabled for non-public API surface.

@xtqqczze xtqqczze changed the title Enable CA1822: Mark members as static WIP: Enable CA1822: Mark members as static Oct 27, 2020
@ghost ghost added the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Oct 31, 2020
@xtqqczze xtqqczze mentioned this pull request Nov 5, 2020
8 tasks done
@ghost ghost added the Stale label Nov 17, 2020
@ghost

Copy link
Copy Markdown

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

Copy link
Copy Markdown
Collaborator

xtqqczze Please split the PR.

@ghost ghost removed the Stale label Nov 21, 2020
xtqqczze added a commit to xtqqczze/PowerShell-PowerShell that referenced this pull request Nov 23, 2020
xtqqczze added a commit to xtqqczze/PowerShell-PowerShell that referenced this pull request Nov 23, 2020
`src\System.Management.Automation\engine\`
-`src\System.Management.Automation\engine\remoting\`

_Contributes to PowerShell#13897._

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
xtqqczze added a commit to xtqqczze/PowerShell-PowerShell that referenced this pull request Nov 23, 2020
`src\System.Management.Automation\`
-`src\System.Management.Automation\engine\`

Contributes to PowerShell#13897.

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
@xtqqczze

Copy link
Copy Markdown
Contributor Author

xtqqczze Please split the PR.

Split is completed.

@ghost ghost added Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept and removed Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept labels Nov 23, 2020
@xtqqczze xtqqczze changed the title WIP: Enable CA1822: Mark members as static Enable CA1822: Mark members as static Dec 6, 2020
@ghost ghost removed the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Dec 6, 2020
@xtqqczze xtqqczze closed this Dec 6, 2020
@xtqqczze xtqqczze reopened this Dec 6, 2020
@xtqqczze
xtqqczze marked this pull request as ready for review December 6, 2020 15:16
@xtqqczze

xtqqczze commented Dec 6, 2020

Copy link
Copy Markdown
Contributor Author

Ilya (@iSazonov) Please could you review.

Comment thread .globalconfig Resolved
@iSazonov Ilya (iSazonov) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Dec 7, 2020
@xtqqczze xtqqczze changed the title Enable CA1822: Mark members as static Enable CA1822: Mark private members as static Dec 7, 2020
@xtqqczze

xtqqczze commented Dec 9, 2020

Copy link
Copy Markdown
Contributor Author

Ilya (@iSazonov) This is blocking #14335, can we merge?

Comment thread src/TypeCatalogGen/TypeCatalogGen.cs Resolved
@rjmholt
Rob Holt (rjmholt) merged commit aecada3 into PowerShell:master Dec 9, 2020
@iSazonov Ilya (iSazonov) added this to the 7.2.0-preview.2 milestone Dec 9, 2020
@xtqqczze
xtqqczze deleted the CA1822 branch December 9, 2020 20:30
@ghost

Copy link
Copy Markdown

🎉v7.2.0-preview.2 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants