Skip to content

Commit 79b1cba

Browse files
committed
Fix ReorderParameterRefactoring
This commit fixes several bugs in the refactoring via a basically complete rewrite. Now, it uses the argument references to the parameters to find all call sites.
1 parent 08217c7 commit 79b1cba

File tree

3 files changed

+552
-92
lines changed

3 files changed

+552
-92
lines changed

Rubberduck.Refactorings/ReorderParameters/Parameter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Rubberduck.Refactorings.ReorderParameters
99
public class Parameter
1010
{
1111
public string Name { get; }
12-
public Declaration Declaration { get; }
12+
public ParameterDeclaration Declaration { get; }
1313
public int Index { get; }
1414
public bool IsOptional { get; }
1515
public bool IsParamArray { get; }

0 commit comments

Comments
 (0)