Skip to content
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

Enhancement for "CA1852: Seal internal/private types" #5678

Open
Youssef1313 opened this issue Oct 25, 2021 · 1 comment
Open

Enhancement for "CA1852: Seal internal/private types" #5678

Youssef1313 opened this issue Oct 25, 2021 · 1 comment

Comments

@Youssef1313
Copy link
Member

Does it make sense to extend this to public types where the base type doesn't have any public constructors?

If it doesn't have any public, protected, or protected internal constructors, then we could also factor it in.

Originally posted by @stephentoub in dotnet/runtime#49944 (comment)

@Youssef1313
Copy link
Member Author

Analyzer is currently WIP: #5594

cc @NewellClark

@Youssef1313 Youssef1313 changed the title Enhancement for "Seal internal/private types" Enhancement for "CA1852: Seal internal/private types" Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant