10 references to Location
Microsoft.CodeAnalysis.Workspaces (10)
Rename\ConflictEngine\ConflictResolver.Session.cs (5)
709
var allRenamedDocuments = _renameLocationSet.Locations.Select(loc => loc.
Location
.SourceTree!).Distinct().Select(solution.GetRequiredDocument);
797
.ToImmutableDictionary(l => l.
Location
.SourceSpan);
891
if (!containingLocationForStringOrComment.Contains(renameLocation.
Location
.SourceSpan))
901
var offset = renameLocation.
Location
.SourceSpan.Start - containingLocationForStringOrComment.Start;
902
var length = renameLocation.
Location
.SourceSpan.Length;
Rename\IRemoteRenamerService.cs (1)
80
=> new(location.
Location
.SourceSpan,
Rename\LightweightRenameLocations.cs (1)
124
this.Locations.WhereAsArray(loc => filter(loc.DocumentId, loc.
Location
.SourceSpan)),
Rename\RenameLocation.cs (3)
38
=>
Location
== other.
Location
;
47
=>
Location
.GetHashCode();