24 references to RenameSpanKind
Microsoft.CodeAnalysis.EditorFeatures (24)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (15)
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)); 192RenameSpanKind.Reference); 284_referenceSpanToLinkedRenameSpanMap.Values.Where(r => r.Type != RenameSpanKind.None).Select(r => r.TrackingSpan)); 357.Select(document => (document, conflictResolution.GetReplacements(document.Id).Where(r => GetRenameSpanKind(r.Kind) != RenameSpanKind.None).ToImmutableArray())) 442.Where(r => GetRenameSpanKind(r.Kind) != RenameSpanKind.None) 466RenameSpanKind.UnresolvedConflict)); 471var kind = GetRenameSpanKind(replacement.Kind); 473if (_referenceSpanToLinkedRenameSpanMap.ContainsKey(replacement.OriginalSpan) && kind != RenameSpanKind.Complexified) 497RenameSpanKind.None); 634private static RenameSpanKind GetRenameSpanKind(InlineRenameReplacementKind kind) 640return RenameSpanKind.Reference; 643return RenameSpanKind.None; 646return RenameSpanKind.UnresolvedConflict; 649return RenameSpanKind.Complexified;
InlineRename\RenameTrackingSpan.cs (2)
9internal readonly struct RenameTrackingSpan(ITrackingSpan trackingSpan, RenameSpanKind type) 12public readonly RenameSpanKind Type = type;
InlineRename\Taggers\AbstractRenameTagger.cs (1)
121protected abstract bool TryCreateTagSpan(SnapshotSpan span, RenameSpanKind type, out TagSpan<T> tagSpan);
InlineRename\Taggers\RenameClassificationTagger.cs (2)
17protected override bool TryCreateTagSpan(SnapshotSpan span, RenameSpanKind type, out TagSpan<IClassificationTag> tagSpan) 19if (type == RenameSpanKind.Reference)
InlineRename\Taggers\RenameTagger.cs (4)
14protected override bool TryCreateTagSpan(SnapshotSpan span, RenameSpanKind type, out TagSpan<ITextMarkerTag> tagSpan) 19case RenameSpanKind.Reference: 22case RenameSpanKind.UnresolvedConflict: 25case RenameSpanKind.Complexified: