Skip to content

Conversation

kurnakovv
Copy link
Contributor

@kurnakovv kurnakovv commented Sep 27, 2025

Fixes #48762

If it will be helpful, I will make more examples for other CA rules (in separate PR's) 😄


Internal previews

📄 File 🔗 Preview link
docs/fundamentals/code-analysis/quality-rules/ca1002.md CA1002: Do not expose generic lists

@kurnakovv kurnakovv requested review from gewarren and a team as code owners September 27, 2025 06:42
@dotnetrepoman dotnetrepoman bot added this to the September 2025 milestone Sep 27, 2025
@dotnet-policy-service dotnet-policy-service bot added dotnet-fundamentals/svc community-contribution Indicates PR is created by someone from the .NET community. labels Sep 27, 2025
Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the example!

@kurnakovv kurnakovv requested a review from gewarren September 30, 2025 14:15
@gewarren gewarren enabled auto-merge (squash) September 30, 2025 15:17
@gewarren gewarren merged commit ad78fc3 into dotnet:main Sep 30, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dotnet-fundamentals/svc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code example for CA1002 rule
2 participants