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

RSRP-138725: Type tracking: should show dead code

$
0
0
Reporter Ilya Ryzhenkov (orangy) Ilya Ryzhenkov (orangy)
Created Dec 4, 2009 6:36:35 PM
Updated Jan 20, 2012 7:11:55 PM
Resolved Jan 20, 2012 1:37:15 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.2889
    private interface IA
    {
      
    }
    private interface IB: IA
    {
      
    }
    void foo(object x)
    {
      var a = x as IA;
      if (a != null)
        return;

      var b = x as IB; // this point will never be reached
      if (b != null)
        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>