File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
RetailCoder.VBE/Refactorings/MoveCloserToUsage Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,13 +110,13 @@ private void MoveCloserToUsage()
110
110
111
111
private void _state_StateChanged ( object sender , ParserStateEventArgs e )
112
112
{
113
- if ( e . State != ParserState . Ready ) { return ; }
113
+ if ( e . State != ParserState . ResolvedDeclarations ) { return ; }
114
114
115
115
var newTarget = _state . AllUserDeclarations . FirstOrDefault (
116
116
item => item . ComponentName == _target . ComponentName &&
117
117
item . IdentifierName == _target . IdentifierName &&
118
118
item . ParentScope == _target . ParentScope &&
119
- item . Project == _target . Project &&
119
+ item . ProjectId == _target . ProjectId &&
120
120
Equals ( item . Selection , _target . Selection ) ) ;
121
121
122
122
if ( newTarget != null )
You can’t perform that action at this time.
0 commit comments