Skip to content

Commit

Permalink
NRT warning
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Jul 25, 2022
1 parent 166d3ae commit 7f9b7f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ await conflictResolution.CurrentSolution.GetRequiredDocument(_documentIdOfRename
{
var definitionLocations = _renameLocationSet.Symbol.Locations;
var definitionDocuments = definitionLocations
.Select(l => conflictResolution.OldSolution.GetRequiredDocument(l.SourceTree))
.Select(l => conflictResolution.OldSolution.GetRequiredDocument(l.SourceTree!))
.Distinct();

if (definitionDocuments.Count() == 1 && _replacementTextValid)
Expand Down

0 comments on commit 7f9b7f5

Please sign in to comment.