Example snippet from DefaultJob.not.cs (notice the un-escaped string):
// the type name must be in sync with WindowsDisassembler.BuildArguments
public class Runnable_0 : global::Benchmarks.SystemTextJson.JsonReaderPerf
{
public static void Run(IHost host)
{
Runnable_0 instance = new Runnable_0();
instance.JsonString = "{ "message": "Hello, World!" }";
host.WriteLine();
foreach (var infoLine in BenchmarkEnvironmentInfo.GetCurrent().ToFormattedString())
{
host.WriteLine("// {0}", infoLine);
}
var job = new Job();
The issue occurs if we use Params with string directly or ParamSource with string coming from a resource file (even if we escape the string explicitly).
Example snippet from DefaultJob.not.cs (notice the un-escaped string):
The issue occurs if we use Params with string directly or ParamSource with string coming from a resource file (even if we escape the string explicitly).
cc @adamsitnik, @KrzysztofCwalina