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

RSRP-287697: Rename refactoring fails to resolve a conflict and breaks code

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Jan 11, 2012 3:11:39 AM
Updated Jan 11, 2012 3:16:49 AM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
using C = System.Collections.Generic.List<A.B>;

class A
{
    C x;

    public class B { } // Rename B to C
}


Actual:

using System.Collections.Generic;
using C = System.Collections.Generic.List<A.C>;

class A
{
    List<> x; // error CS1031: Type expected

    public class C { }
}


Expected:

using System.Collections.Generic;
using C = System.Collections.Generic.List<A.C>;

class A
{
    List<C> x;

    public class C { }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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