-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Area-Microsoft.CodeAnalysis.NetAnalyzersdocumentationhelp wantedIssues that we would accept external contributions on. Also known as up-for-grabs.Issues that we would accept external contributions on. Also known as up-for-grabs.untriagedRequest triage from a team memberRequest triage from a team member
Description
The analyzer rule CA1864 currently has the title:
Prefer the ‘IDictionary.TryAdd(TKey, TValue)’ method
However, the IDictionary<TKey, TValue> interface does not define a TryAdd method. The TryAdd method exists only on the Dictionary<TKey, TValue> class (and a few other specific implementations).
This appears to be a typo or incorrect reference in the rule metadata or documentation. The intended title should likely be:
Prefer the ‘Dictionary.TryAdd(TKey, TValue)’ method
Metadata
Metadata
Assignees
Labels
Area-Microsoft.CodeAnalysis.NetAnalyzersdocumentationhelp wantedIssues that we would accept external contributions on. Also known as up-for-grabs.Issues that we would accept external contributions on. Also known as up-for-grabs.untriagedRequest triage from a team memberRequest triage from a team member