History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-20645
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Dmitry Lomov
Reporter: Alexandra Rusina
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Incorrect rename of related symbol

Created: 06 Aug 06 03:13   Updated: 07 Jun 07 13:08
Component/s: Refactorings - Rename
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 227
Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=20645


 Description  « Hide
I have the following code:
-----------------------
//My SampleClass Class
public class SampleClass
{
public String Foo(ICollection collection) { SampleClass sampleClass; }

}
--------------------
1. I use Rename refactoring for class SampleClass and rename it to SampleClass1.
2. When it shows related symbols, I navigate to the variable location and change its name form sampleClass to myClass.
When the refactoring is performed, the variable declaration looks as follows:
-------------------------
SampleClass sampleClass1;
-------------------------
As you can see, the type is not changed.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.