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

RSRP-214200: Import method quick fix suggests to import useless method

$
0
0
Reporter Olga Lobacheva (olka) Olga Lobacheva (olka)
Created Feb 11, 2011 9:34:18 PM
Updated Feb 9, 2012 9:06:45 PM
Priority Major
Type Bug
Fix versions Next
State Submitted
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
It is useless to import method which has the same signature as problematic one.

namespace MyNamespace
{
    public static class X
    {
        public static void Foo(this C c) { }
    }

}

public partial class C
{
    void A()
    {
        this.Foo({caret});
    }

    void Foo()
    {
        //body 1
    }
}

public partial class C
{
    void Foo(){}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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