JetBrains / JetBrains/resharper-unity
Wrong suggestions for EditorTool
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
I dropped `CurrentData` in an `EditorTool`, though conditional is wrong and I didn't fix it yet, R# suggests two totally irrelevant suggestions for it:

Even if code is somewhat better, they still show;

Finally, _Use null propagation_ is also irrelevant:

Contributor guide
Research direction
Start by reproducing the reported CurrentData and EditorTool cases in ReSharper or Rider, including the conditional and null-propagation examples shown in the screenshots. Trace which suggestions are offered for these cases and adjust the relevant inspection behavior so irrelevant suggestions are no longer displayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- game-dev, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100