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

RSRP-74791: More smart behavior of 'Goto Inheritor'

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Jul 13, 2008 2:57:41 PM
Updated Nov 8, 2011 7:43:28 PM
Priority Major
Type Feature
Fix versions Mirabile Futurum
State Open
Assignee Kirill Skrygan (kirillskrygan)
Subsystem Search
Affected versions No Affected versions
Fixed in build No Fixed in build
using System.ComponentModel;

namespace DebuggingTools
{
    public class Stuff
    {
        public static void Foo(IComponent x)
        {
            x.Dispose();
        }
    }
}


Put the caret on Dipose method invocation, and invoke 'Goto Inheritor' (Ctrl+Alt+B). ReSharper searches for all methods implementing IDisposable.Dispose. It makes sense to search for methods implementing IDisposable.Dispose only in types, implementing IComponent, because only those methods can be invoked in the given context.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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