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

Key: RSRP-33415
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Dmitry Lomov
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

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

'Rename class' refactoring does not work

Created: 14 Dec 06 11:17   Updated: 06 Jul 07 11:13
Component/s: Refactorings - Rename
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

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

Build: 326


 Description  « Hide
internal delegate void F();

internal class A
{
	private class B // Rename 'B' to 'F'
	{
		private static void A()
		{
			F F = new F(B.A);
		}
	}
}

Result:

internal delegate void F();

internal class A
{
	private class F
	{
		private static void A()
		{
			global::F F = new global::F(F.A); // error CS0117: 'F' does not contain a definition for 'A'
		}
	}
}

Expected:

internal delegate void F();

internal class A
{
	private class F
	{
		private static void A()
		{
			global::F F = new global::F(A);
		}
	}
}


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