Let's say I have this class and I move it to a a directory named "Folder" and then I apply the refactoring.
C#namespace CodeRushRepro
{
public class Test
{
public void Boom()
{
Test.StaticMethod();
}
private static void StaticMethod()
{
}
}
}
I end up with this broken code:
C#namespace CodeRushRepro.Folder
{
public class Test
{
public void Boom()
{
Folder.Test(); // BUG: bad code!
}
private static void StaticMethod()
{
}
}
}
Ivan,
Thank you for the sample project. We have reproduced this issue locally and will work on it. Please bear with us. We will inform you once we fix it.