Project
ReSharper
Priority
Normal
Type
Bug
Fix versions
Mirabile Futurum
State
Open
Assignee
Sergey Shkredov
Subsystem
Naming
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Leonid Bushuev
    2 years ago (08 Sep 2009 13:27)
  • Updated by   Sergey Shkredov
    7 months ago (06 Jul 2011 17:24)
  • Jira: RSRP-120235
    (history, comments)
 
RSRP-120235 Resharper adds '1' to argument name when it is not needed
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Scenario:

1. get class B with internal or protected variable xxx, yyy; and class C inhertited B.

2. Inside the method on class C, type something like the following:

    static void MyMethod()
    {
        int xxx = 111, yyy = 222;
        DoMyNewAction(xxx, yyy);
    }


where the DoMyNewAction is unexistent function.

3. Select to introduce a new function. Resharper will generate the following one:

    static void DoMyNewAction(int xxx1, int yyy1)
    {
    }


But the '1's are not needed in this case.
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments