Repository navigation
Fix concurrent collections CA1836 rule violations - #40629
Conversation
|
Tagging subscribers to this area: @eiriktsarpalis |
|
Seems like CI issues are due to dotnet/runtime hasn't ingested the latest bits from dotnet/roslyn-analyzers, maybe we should holf-off changing severity until then. |
I think you can just bump up the below to Line 9 in aa5fdab |
|
Hello @danmosemsft! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
"The operation is not allowed on non-connected sockets.". #38159 ? |
Follow-up to dotnet/roslyn-analyzers#3978
Fix places where the rule detects an inefficient usage of
Count == 0or similar condition after changing the rule to only diagnose allowed types (concurrent types for now).Also updates rule severity to
Warningin CodeAnalysis.ruleset file.cc @mavasani @jeffhandley