Improve IDE0035 for bool variables that are de facto constants #72781
Labels
Area-IDE
Concept-Continuous Improvement
Feature - IDE0035
Unreachable code detected
Need Design Review
The end user experience design needs to be reviewed and approved.
Milestone
This issue has been moved from a ticket on Developer Community.
If a local variable of type bool is declared and assigned to false in cases where it never changes in code, IDE0035 should fire in if checks
Original Comments
Feedback Bot on 3/27/2024, 03:59 AM:
(private comment, text removed)
The text was updated successfully, but these errors were encountered: