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