dotnet / dotnet/roslynator

RCS1077 for ToDictionary

Open
#1,491 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
3.5k
Forks
294
Avg merge
2h 30m
Merged PRs (30d)
4

Description

RCS1077 should recommend replacing `.ToDictionary(keySelector, x => x)` with `.ToDictionary(keySelector)`

Contributor guide

Open the contributing guide

Research direction

Start by locating the RCS1077 analyzer and its tests, then inspect how the ToDictionary(keySelector, x => x) case is handled. Done means the analyzer recommends ToDictionary(keySelector) for this pattern and the relevant tests verify the diagnostic and code fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.