예제 #1
0
        internal void MapsCorrectly(FSharpInlineRenameReplacementKind kind)
        {
            var actual   = FSharpInlineRenameReplacementKindHelpers.ConvertTo(kind);
            var expected = GetExpectedInlineRenameReplacementKind(kind);

            Assert.Equal(expected, actual);
        }
예제 #2
0
 IEnumerable <InlineRenameReplacement> IInlineRenameReplacementInfo.GetReplacements(DocumentId documentId)
 => GetReplacements(documentId).Select(r => new InlineRenameReplacement(FSharpInlineRenameReplacementKindHelpers.ConvertTo(r.Kind), r.OriginalSpan, r.NewSpan));