From fd5f3a771c41573a1a4a0521595c2b2c0ef00a3d Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Mon, 3 Apr 2017 20:20:39 -0700 Subject: [PATCH] React to corefxlab changes (#1602) --- .../DotSegmentRemovalBenchmark.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Microsoft.AspNetCore.Server.Kestrel.Performance/DotSegmentRemovalBenchmark.cs b/test/Microsoft.AspNetCore.Server.Kestrel.Performance/DotSegmentRemovalBenchmark.cs index 64482a568c..eb626280d1 100644 --- a/test/Microsoft.AspNetCore.Server.Kestrel.Performance/DotSegmentRemovalBenchmark.cs +++ b/test/Microsoft.AspNetCore.Server.Kestrel.Performance/DotSegmentRemovalBenchmark.cs @@ -27,7 +27,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Performance [Benchmark(Baseline = true)] public unsafe int NoDotSegments() { - _noDotSegmentsAscii.CopyTo(_noDotSegmentsBytes); + _noDotSegmentsAscii.CopyTo(_noDotSegmentsBytes, 0); fixed (byte* start = _noDotSegmentsBytes) { @@ -38,7 +38,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Performance [Benchmark] public unsafe int SingleDotSegments() { - _singleDotSegmentsAscii.CopyTo(_singleDotSegmentsBytes); + _singleDotSegmentsAscii.CopyTo(_singleDotSegmentsBytes, 0); fixed (byte* start = _singleDotSegmentsBytes) { @@ -49,7 +49,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Performance [Benchmark] public unsafe int DoubleDotSegments() { - _doubleDotSegmentsAscii.CopyTo(_doubleDotSegmentsBytes); + _doubleDotSegmentsAscii.CopyTo(_doubleDotSegmentsBytes, 0); fixed (byte* start = _doubleDotSegmentsBytes) {