Project
ReSharper
Priority
Major
Type
Bug
Fix versions
2.5.2
State
Fixed
Assignee
Andrey Simanovsky
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Andrew Serebryansky
    4 years ago (12 Feb 2007 20:26)
  • Updated by   Andrew Serebryansky
    4 years ago (26 Mar 2007 19:15)
  • Jira: RSRP-35567
    (history, comments)
 
RSRP-35567 Remove redundant check modifies behavior
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
  • code initially reads while(results.Read != false) {}

  • Resharper suggests removing redundant check for false

  • Proceed with suggested action and the following code is produced:
while(!results.Read()) {}

however it should be:
while(results.Read()) {}


Issue was closed
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments