33 references to InlineRenameReplacementKind
Microsoft.CodeAnalysis.EditorFeatures (32)
ExternalAccess\VSTypeScript\VSTypeScriptInlineRenameReplacementKindHelpers.cs (12)
15
public static VSTypeScriptInlineRenameReplacementKind ConvertFrom(
InlineRenameReplacementKind
kind)
19
InlineRenameReplacementKind
.NoConflict => VSTypeScriptInlineRenameReplacementKind.NoConflict,
20
InlineRenameReplacementKind
.ResolvedReferenceConflict => VSTypeScriptInlineRenameReplacementKind.ResolvedReferenceConflict,
21
InlineRenameReplacementKind
.ResolvedNonReferenceConflict => VSTypeScriptInlineRenameReplacementKind.ResolvedNonReferenceConflict,
22
InlineRenameReplacementKind
.UnresolvedConflict => VSTypeScriptInlineRenameReplacementKind.UnresolvedConflict,
23
InlineRenameReplacementKind
.Complexified => VSTypeScriptInlineRenameReplacementKind.Complexified,
28
public static
InlineRenameReplacementKind
ConvertTo(VSTypeScriptInlineRenameReplacementKind kind)
32
VSTypeScriptInlineRenameReplacementKind.NoConflict =>
InlineRenameReplacementKind
.NoConflict,
33
VSTypeScriptInlineRenameReplacementKind.ResolvedReferenceConflict =>
InlineRenameReplacementKind
.ResolvedReferenceConflict,
34
VSTypeScriptInlineRenameReplacementKind.ResolvedNonReferenceConflict =>
InlineRenameReplacementKind
.ResolvedNonReferenceConflict,
35
VSTypeScriptInlineRenameReplacementKind.UnresolvedConflict =>
InlineRenameReplacementKind
.UnresolvedConflict,
36
VSTypeScriptInlineRenameReplacementKind.Complexified =>
InlineRenameReplacementKind
.Complexified,
InlineRename\AbstractEditorInlineRenameService.InlineRenameReplacementInfo.cs (1)
61
.Select(s => new InlineRenameReplacement(
InlineRenameReplacementKind
.Complexified, s.oldSpan, s.newSpan));
InlineRename\IEditorInlineRenameService.cs (8)
70
public
InlineRenameReplacementKind
Kind { get; }
74
public InlineRenameReplacement(
InlineRenameReplacementKind
kind, TextSpan originalSpan, TextSpan newSpan) : this()
86
private static
InlineRenameReplacementKind
GetReplacementKind(RelatedLocation location)
91
return
InlineRenameReplacementKind
.NoConflict;
93
return
InlineRenameReplacementKind
.ResolvedReferenceConflict;
95
return
InlineRenameReplacementKind
.ResolvedNonReferenceConflict;
98
return
InlineRenameReplacementKind
.UnresolvedConflict;
131
public static IEnumerable<
InlineRenameReplacementKind
> GetAllReplacementKinds(this IInlineRenameReplacementInfo info)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (6)
634
private static RenameSpanKind GetRenameSpanKind(
InlineRenameReplacementKind
kind)
638
case
InlineRenameReplacementKind
.NoConflict:
639
case
InlineRenameReplacementKind
.ResolvedReferenceConflict:
642
case
InlineRenameReplacementKind
.ResolvedNonReferenceConflict:
645
case
InlineRenameReplacementKind
.UnresolvedConflict:
648
case
InlineRenameReplacementKind
.Complexified:
InlineRename\RenameLogMessage.cs (5)
34
IList<
InlineRenameReplacementKind
> replacementKinds)
49
m[RenamedIdentifiersWithoutConflicts] = replacementKinds.Count(r => r ==
InlineRenameReplacementKind
.NoConflict);
50
m[ResolvableReferenceConflicts] = replacementKinds.Count(r => r ==
InlineRenameReplacementKind
.ResolvedReferenceConflict);
51
m[ResolvableNonReferenceConflicts] = replacementKinds.Count(r => r ==
InlineRenameReplacementKind
.ResolvedNonReferenceConflict);
52
m[UnresolvableConflicts] = replacementKinds.Count(r => r ==
InlineRenameReplacementKind
.UnresolvedConflict);
Microsoft.CodeAnalysis.ExternalAccess.FSharp.UnitTests (1)
FSharpInlineRenameReplacementKindTests.cs (1)
67
var
actual = FSharpInlineRenameReplacementKindHelpers.ConvertTo(kind);