IDE0046: 'if' statement can be simplified #60859
Labels
Area-IDE
Concept-Continuous Improvement
Feature - IDE0046
Use conditional expression
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Version Used: Visual Studio 17.2.0 Preview 3.0
Steps to Reproduce:
Convert to conditional expression --> IDE0046: 'if' statement can be simplified
Expected Behavior:
Actual Behavior:
(object) cast is being added, while this doesn't seem to be needed.
The text was updated successfully, but these errors were encountered: