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));
192
RenameSpanKind
.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)
466
RenameSpanKind
.UnresolvedConflict));
471
var
kind = GetRenameSpanKind(replacement.Kind);
473
if (_referenceSpanToLinkedRenameSpanMap.ContainsKey(replacement.OriginalSpan) && kind !=
RenameSpanKind
.Complexified)
497
RenameSpanKind
.None);
634
private static
RenameSpanKind
GetRenameSpanKind(InlineRenameReplacementKind kind)
640
return
RenameSpanKind
.Reference;
643
return
RenameSpanKind
.None;
646
return
RenameSpanKind
.UnresolvedConflict;
649
return
RenameSpanKind
.Complexified;
InlineRename\RenameTrackingSpan.cs (2)
9
internal readonly struct RenameTrackingSpan(ITrackingSpan trackingSpan,
RenameSpanKind
type)
12
public readonly
RenameSpanKind
Type = type;
InlineRename\Taggers\AbstractRenameTagger.cs (1)
121
protected abstract bool TryCreateTagSpan(SnapshotSpan span,
RenameSpanKind
type, out TagSpan<T> tagSpan);
InlineRename\Taggers\RenameClassificationTagger.cs (2)
17
protected override bool TryCreateTagSpan(SnapshotSpan span,
RenameSpanKind
type, out TagSpan<IClassificationTag> tagSpan)
19
if (type ==
RenameSpanKind
.Reference)
InlineRename\Taggers\RenameTagger.cs (4)
14
protected override bool TryCreateTagSpan(SnapshotSpan span,
RenameSpanKind
type, out TagSpan<ITextMarkerTag> tagSpan)
19
case
RenameSpanKind
.Reference:
22
case
RenameSpanKind
.UnresolvedConflict:
25
case
RenameSpanKind
.Complexified: