-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Fix CA1052 for public API #15775
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
Fix CA1052 for public API #15775
Conversation
|
CodeFactor "complex method" issues are false positives, see #15721. |
|
@PowerShell/powershell-committee reviewed this, we don't believe there's any real case where someone would be broken by this as the classes only have static members. We approve of this change. |
|
@xtqqczze Thank you for your contribution |
|
🎉 Handy links: |
|
🎉 Handy links: |
Fix CA1052: Static holder types should be Static or NotInheritable for public API.
Possible breaking change: Unlikely Grey Area
Instantiating a class containing only static members has no obvious utility.