Skip to content

Commit 2db6457

Browse files
committed
In ExtractInterface the ImplementInterface refactoring kicks in after resolving the declarations now instead after resolving the references.
1 parent a488500 commit 2db6457

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

RetailCoder.VBE/Refactorings/ExtractInterface/ExtractInterfaceRefactoring.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ public void Refactor()
6565
pane.Selection = oldSelection.Value.Selection;
6666
}
6767
}
68-
69-
_state.OnParseRequested(this);
7068
}
7169

7270
public void Refactor(QualifiedSelection target)
@@ -124,7 +122,7 @@ private void AddInterface()
124122
private int _insertionLine;
125123
private void _state_StateChanged(object sender, EventArgs e)
126124
{
127-
if (_state.Status != ParserState.Ready)
125+
if (_state.Status != ParserState.ResolvedDeclarations)
128126
{
129127
return;
130128
}

0 commit comments

Comments
 (0)