-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Enable CA1852/CA1812 Analyzers #7879
Copy link
Copy link
Closed
Labels
api-suggestion(1) Early API idea and discussion, it is NOT ready for implementation(1) Early API idea and discussion, it is NOT ready for implementationgood first issueIssue should be easy to implement, good for first-time contributorsIssue should be easy to implement, good for first-time contributorshelp wantedGood issue for external contributorsGood issue for external contributors
Metadata
Metadata
Assignees
Labels
api-suggestion(1) Early API idea and discussion, it is NOT ready for implementation(1) Early API idea and discussion, it is NOT ready for implementationgood first issueIssue should be easy to implement, good for first-time contributorsIssue should be easy to implement, good for first-time contributorshelp wantedGood issue for external contributorsGood issue for external contributors
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is your feature request related to a problem? Please describe
CA1852Analyzer for sealing non-public classes which are not inherited from for performance reasons https://devblogs.microsoft.com/dotnet/performance_improvements_in_net_7/#analyzersCA1812Avoid uninstantiated internal classes for performance https://learn.microsoft.com/en-au/dotnet/fundamentals/code-analysis/quality-rules/ca1812The configs are stored here: https://github.com/dotnet/winforms/blob/main/eng/CodeAnalysis.src.globalconfig.
Describe the solution you'd like and alternatives you've considered
N/A
Will this feature affect UI controls?
N/A