10 references to Location
Microsoft.CodeAnalysis.Workspaces (10)
Rename\ConflictEngine\ConflictResolver.Session.cs (5)
709var allRenamedDocuments = _renameLocationSet.Locations.Select(loc => loc.Location.SourceTree!).Distinct().Select(solution.GetRequiredDocument); 797.ToImmutableDictionary(l => l.Location.SourceSpan); 891if (!containingLocationForStringOrComment.Contains(renameLocation.Location.SourceSpan)) 901var offset = renameLocation.Location.SourceSpan.Start - containingLocationForStringOrComment.Start; 902var length = renameLocation.Location.SourceSpan.Length;
Rename\IRemoteRenamerService.cs (1)
80=> 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();