Skip to content

Commit d6ee2a7

Browse files
Apply suggestions from code review
1 parent 5db0c75 commit d6ee2a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Workspaces/Core/Portable/Rename/ConflictEngine/ConflictResolver.Session.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ private async Task<bool> CheckForConflictAsync(
542542
var newLocations = newReferencedSymbols
543543
.Select(symbol => GetSymbolLocation(solution, symbol, _cancellationToken))
544544
.WhereNotNull()
545+
.Where(loc => loc.IsInSource))
545546
.ToArray();
546547
foreach (var originalReference in conflictAnnotation.RenameDeclarationLocationReferences.Where(loc => loc.IsSourceLocation))
547548
{

0 commit comments

Comments
 (0)