Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/wpfPublic

[StyleCleanUp] Static holder types should bestatic orsealed (CA1052)#10718

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
h3xds1nz wants to merge1 commit intodotnet:main
base:main
Choose a base branch
Loading
fromh3xds1nz:fix-ca1052

Conversation

h3xds1nz
Copy link
Member

@h3xds1nzh3xds1nz commentedApr 7, 2025
edited by dotnet-policy-servicebot
Loading

Currently blocked via#10680 hence draft.

Fixes#10717

Description

Fixes classes (usually) with private ctors to bestatic orsealed (in case of singletons).

Customer Impact

Cleaner codebase for developers.

Regression

No.

Testing

Local build.

Risk

Low, these are allinternal classes.

Microsoft Reviewers:Open in CodeFlow

rampaa reacted with thumbs up emoji
@h3xds1nzh3xds1nz requested review froma team ascode ownersApril 7, 2025 13:55
@h3xds1nzh3xds1nz marked this pull request as draftApril 7, 2025 13:55
@dotnet-policy-servicedotnet-policy-servicebot added PRmetadata: Label to tag PRs, to facilitate with triage Community ContributionA label for all community Contributions draft labelsApr 7, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dipeshmsftdipeshmsftAwaiting requested review from dipeshmsft

@singhashish-wpfsinghashish-wpfAwaiting requested review from singhashish-wpf

@Kuldeep-MSKuldeep-MSAwaiting requested review from Kuldeep-MS

At least 1 approving review is required to merge this pull request.

Assignees

@h3xds1nzh3xds1nz

Labels
Community ContributionA label for all community ContributionsdraftPRmetadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

CA1052: Static holder types should bestatic orsealed
1 participant
@h3xds1nz

[8]ページ先頭

©2009-2025 Movatter.jp