11 references to Location
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\AbstractEditorInlineRenameService.InlineRenameLocationSet.cs (1)
53return new InlineRenameLocation(document, location.Location.SourceSpan);
Microsoft.CodeAnalysis.Workspaces (10)
Rename\ConflictEngine\ConflictResolver.Session.cs (5)
689var allRenamedDocuments = _renameLocationSet.Locations.Select(loc => loc.Location.SourceTree!).Distinct().Select(solution.GetRequiredDocument); 780.ToImmutableDictionary(l => l.Location.SourceSpan); 874if (!containingLocationForStringOrComment.Contains(renameLocation.Location.SourceSpan)) 884var offset = renameLocation.Location.SourceSpan.Start - containingLocationForStringOrComment.Start; 885var 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();