Project
ReSharper
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Open
Assignee
Sergey Shkredov
Subsystem
Refactorings
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Igor A
    3 years ago (18 May 2009 14:17)
  • Updated by   Jura Gorohovsky
    10 months ago (08 Jul 2011 16:38)
  • Jira: RSRP-108135
    (history, comments)
 
RSRP-108135 'Extension Method to Plain Static' refactoring: show correct text in Undo button
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Steps to reproduce:
1. Apply 'Extension Method to Plain Static' refactoring through SC popup menu to following code:
static class MyExtClass
{
    public static void Ext{caret}(this IMyClass z)
    {
        z.Foo();
    }
}
internal interface IMyClass
{
    void Foo();
}
class MyClass : IMyClass
{
    public void Foo()
    {
    }
}

2. See text in the list of Undo button in the Standard toolbar.
Wrong result: text is 'VS Command', but it should be something like 'Extension Method to Plain Static'.
Comments (2)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Sergey Shkredov
  Sergey Shkredov
19 May 2009 12:56
3 years ago
Everything works fine.
Igor A
  Igor A
19 May 2009 18:01
3 years ago
Note: refactoring should be done through SC popup menu - there is no bug if perform refactoring through VS main menu or through Ctrl + Shift + R hotkey.