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)); 356.Select(document => (document, conflictResolution.GetReplacements(document.Id).Where(r => GetRenameSpanKind(r.Kind) != RenameSpanKind.None).ToImmutableArray())) 439var relevantReplacements = conflictResolution.GetReplacements(document.Id).Where(r => GetRenameSpanKind(r.Kind) != RenameSpanKind.None); 464RenameSpanKind.UnresolvedConflict)); 469var kind = GetRenameSpanKind(replacement.Kind); 471if (_referenceSpanToLinkedRenameSpanMap.ContainsKey(replacement.OriginalSpan) && kind != RenameSpanKind.Complexified) 495RenameSpanKind.None); 628private static RenameSpanKind GetRenameSpanKind(InlineRenameReplacementKind kind) 634return RenameSpanKind.Reference; 637return RenameSpanKind.None; 640return RenameSpanKind.UnresolvedConflict; 643return 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: