Skip to content

Conversation

@kurnakovv
Copy link
Contributor

@kurnakovv kurnakovv commented Oct 11, 2025

@kurnakovv kurnakovv requested review from a team and gewarren as code owners October 11, 2025 05:16
@dotnetrepoman dotnetrepoman bot added this to the October 2025 milestone Oct 11, 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 Oct 11, 2025
@gewarren gewarren enabled auto-merge (squash) October 23, 2025 01:06
@gewarren
Copy link
Contributor

gewarren commented Oct 23, 2025

Snippets5000 error is compiler warnings due to mismatched operators, so I think it's okay to override and merge.

@kurnakovv Actually I think it's better to suppress CS0216 so this large project can continue to build without warnings in the future.

auto-merge was automatically disabled October 25, 2025 04:24

Head branch was pushed to by a user without write access

@kurnakovv
Copy link
Contributor Author

@gewarren I'm not sure how to do it correctly, because this

#pragma warning disable CS0216
// ...
#pragma warning restore CS0216

doesn't work, and this

dotnet_diagnostic.CS0216.severity = none

also doesn't work

I hope this is OK for code example

#if false
// ...
#endif

@kurnakovv kurnakovv requested a review from gewarren October 25, 2025 04:29
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.

Add code example for CA2226 rule

2 participants