18 references to _referenceSpanToLinkedRenameSpanMap
Microsoft.CodeAnalysis.EditorFeatures (18)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (18)
164
=>
_referenceSpanToLinkedRenameSpanMap
.Values.Where(r => r.Type != RenameSpanKind.None).Concat(_conflictResolutionRenameTrackingSpans);
167
=>
_referenceSpanToLinkedRenameSpanMap
.Values.Where(r => r.Type != RenameSpanKind.None).Select(r => r.TrackingSpan.GetSpan(snapshot));
173
if (spans.SetEquals(
_referenceSpanToLinkedRenameSpanMap
.Keys))
184
_referenceSpanToLinkedRenameSpanMap
.Clear();
194
_referenceSpanToLinkedRenameSpanMap
[span] = trackingSpan;
251
_activeSpan =
_referenceSpanToLinkedRenameSpanMap
.Where(kvp => kvp.Value.TrackingSpan.GetSpan(args.After).Contains(boundingIntersectionSpan)).Single().Key;
264
_referenceSpanToLinkedRenameSpanMap
.Values
284
_referenceSpanToLinkedRenameSpanMap
.Values.Where(r => r.Type != RenameSpanKind.None).Select(r => r.TrackingSpan));
289
_session.UndoManager.UpdateSelection(this.ActiveTextView, _subjectBuffer,
_referenceSpanToLinkedRenameSpanMap
[_activeSpan.Value].TrackingSpan);
471
if (
_referenceSpanToLinkedRenameSpanMap
.ContainsKey(replacement.OriginalSpan) && kind != RenameSpanKind.Complexified)
482
_referenceSpanToLinkedRenameSpanMap
[replacement.OriginalSpan] = new RenameTrackingSpan(
493
_referenceSpanToLinkedRenameSpanMap
[replacement.OriginalSpan] = new RenameTrackingSpan(
494
_referenceSpanToLinkedRenameSpanMap
[replacement.OriginalSpan].TrackingSpan,
675
var containingSpans = openTextBufferManager.
_referenceSpanToLinkedRenameSpanMap
.Select(kvp =>
721
_anchor.HasValue && _openTextBufferManager.
_referenceSpanToLinkedRenameSpanMap
.Keys.Any(s => s.OverlapsWith(anchorSpan))
727
_active.HasValue && _openTextBufferManager.
_referenceSpanToLinkedRenameSpanMap
.Keys.Any(s => s.OverlapsWith(activeSpan))
738
var endPoint = _openTextBufferManager.
_referenceSpanToLinkedRenameSpanMap
.TryGetValue(span, out var renameTrackingSpan)
740
: _openTextBufferManager.
_referenceSpanToLinkedRenameSpanMap
.First(kvp => kvp.Key.OverlapsWith(span)).Value.TrackingSpan.GetEndPoint(snapshot);