12 references to Location
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\AbstractEditorInlineRenameService.InlineRenameLocationSet.cs (1)
53return new InlineRenameLocation(document, location.Location.SourceSpan);
Microsoft.CodeAnalysis.Workspaces (11)
Rename\ConflictEngine\ConflictResolver.Session.cs (5)
691var allRenamedDocuments = _renameLocationSet.Locations.Select(loc => loc.Location.SourceTree!).Distinct().Select(solution.GetRequiredDocument); 782.ToImmutableDictionary(l => l.Location.SourceSpan); 876if (!containingLocationForStringOrComment.Contains(renameLocation.Location.SourceSpan)) 886var offset = renameLocation.Location.SourceSpan.Start - containingLocationForStringOrComment.Start; 887var length = renameLocation.Location.SourceSpan.Length;
Rename\IRemoteRenamerService.cs (1)
79=> new(location.Location.SourceSpan,
Rename\LightweightRenameLocations.cs (1)
124this.Locations.WhereAsArray(loc => filter(loc.DocumentId, loc.Location.SourceSpan)),
Rename\RenameLocation.cs (3)
38=> Location == other.Location; 47=> Location.GetHashCode();
Rename\RenameUtilities.cs (1)
125return renameLocations.Select(l => solution.GetRequiredDocument(l.Location.SourceTree!));