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

RSRP-160615: Code Needed To Be Compilable Is Marked As Heuristically Unreachable

$
0
0
Reporter Kevin Watkins (MrKWatkins) Kevin Watkins (MrKWatkins)
Created Feb 19, 2010 8:41:20 PM
Updated Feb 28, 2012 4:34:10 PM
Resolved Feb 28, 2012 4:34:10 PM
Priority Critical
Type Bug
Fix versions Next
State Fixed
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build 6.5.1.497
In the following example the return statement will be flagged as heuristically unreachable yet it cannot be deleted or the code will not compile:

[TestCase(Result = "")]
public string Example()
{
Assert.Fail();
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>