Skip to content

Commit

Permalink
Fix ReorderParameterRefactoring
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MDoerner committed Nov 22, 2019
1 parent 08217c7 commit 79b1cba
Show file tree
Hide file tree
Showing 3 changed files with 552 additions and 92 deletions.
2 changes: 1 addition & 1 deletion Rubberduck.Refactorings/ReorderParameters/Parameter.cs
Expand Up @@ -9,7 +9,7 @@ namespace Rubberduck.Refactorings.ReorderParameters
public class Parameter
{
public string Name { get; }
public Declaration Declaration { get; }
public ParameterDeclaration Declaration { get; }
public int Index { get; }
public bool IsOptional { get; }
public bool IsParamArray { get; }
Expand Down

0 comments on commit 79b1cba

Please sign in to comment.