Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
using Riok.Mapperly.Output;

namespace Riok.Mapperly.Helpers;
Expand Down Expand Up @@ -77,8 +76,8 @@ IncrementalValuesProvider<MapperNode> mappers
mappers,
static (spc, mapper) =>
{
var mapperText = mapper.Body.ToFullString();
spc.AddSource(mapper.FileName, SourceText.From(mapperText, Encoding.UTF8));
var mapperText = mapper.Body.GetText(Encoding.UTF8);
spc.AddSource(mapper.FileName, mapperText);
}
);
}
Expand Down
Loading