The Analyzer for CA1854: Prefer the IDictionary.TryGetValue Is Not Working Properly #6589
Labels
Area-Microsoft.CodeAnalysis.NetAnalyzers
False_Negative
No diagnostic is reported for a problematic case
good first issue
help wanted
The issue is up-for-grabs, and can be claimed by commenting
Milestone
This issue has been moved from a ticket on Developer Community.
The analyzer for CA1854: Prefer the IDictionary.TryGetValue(TKey, out TValue) method is not working properly. For example it did not create a warning (as I have setup in my EditorConfig) for this code:
It should have created a refactoring to change it to this code:
Original Comments
Feedback Bot on 4/5/2023, 07:38 PM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: