Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-292767: Invalid "Expression is always false"

$
0
0
Reporter Evgeny Pasynkov (pasynkov) Evgeny Pasynkov (pasynkov)
Created Apr 4, 2012 5:03:16 PM
Updated Apr 4, 2012 11:31:25 PM
Resolved Apr 4, 2012 7:41:32 PM
Priority Critical
Type Unspecified
Fix versions 7.0
State Fixed
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build 7.0.10.157
class C
{
  private const string VALUE = "Value";
  void Foo(string name)
  {
      if (name != null && !VALUE.Equals(name, StringComparison.OrdinalIgnoreCase)) return;
  }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>