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