2 references to CustomMemoryForTest
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Shared\Buffers.Testing\CustomMemoryForTest.cs (1)
13public CustomMemoryForTest(T[] array) : this(array, 0, array.Length)
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (1)
68return new ReadOnlySequence<byte>(new CustomMemoryForTest<byte>(startSegment, 10, data.Length).Memory);