55 references to CopyTo
InMemory.FunctionalTests (48)
ChunkedResponseTests.cs (20)
204Encoding.ASCII.GetBytes(expectedString).CopyTo(memory); 245Encoding.ASCII.GetBytes(expectedString).CopyTo(memory); 580fisrtPartOfResponse.CopyTo(memory); 585secondPartOfResponse.CopyTo(memory); 623fisrtPartOfResponse.CopyTo(memory); 628secondPartOfResponse.CopyTo(memory); 671fisrtPartOfResponse.CopyTo(memory); 676secondPartOfResponse.CopyTo(memory); 727fisrtPartOfResponse.CopyTo(memory); 732secondPartOfResponse.CopyTo(memory); 783fisrtPartOfResponse.CopyTo(memory); 789secondPartOfResponse.CopyTo(secondMemory); 835fisrtPartOfResponse.CopyTo(memory); 839secondPartOfResponse.CopyTo(memory.Slice(6)); 925fisrtPartOfResponse.CopyTo(memory); 963fisrtPartOfResponse.CopyTo(memory); 1078fisrtPartOfResponse.CopyTo(memory); 1117fisrtPartOfResponse.CopyTo(memory); 1152fisrtPartOfResponse.CopyTo(memory); 1155secondPartOfResponse.CopyTo(memory.Slice(6));
Http2\Http2StreamTests.cs (18)
3879fisrtPartOfResponse.CopyTo(memory); 3884secondPartOfResponse.CopyTo(memory); 3926fisrtPartOfResponse.CopyTo(memory); 3931secondPartOfResponse.CopyTo(memory); 3973fisrtPartOfResponse.CopyTo(memory); 3978secondPartOfResponse.CopyTo(memory); 4026fisrtPartOfResponse.CopyTo(memory); 4031secondPartOfResponse.CopyTo(memory); 4079fisrtPartOfResponse.CopyTo(memory); 4083secondPartOfResponse.CopyTo(memory.Slice(6)); 4173fisrtPartOfResponse.CopyTo(memory); 4377fisrtPartOfResponse.CopyTo(memory); 4380secondPartOfResponse.CopyTo(memory.Slice(6)); 4493fisrtPartOfResponse.CopyTo(memory); 4497secondPartOfResponse.CopyTo(memory.Slice(6)); 4579fisrtPartOfResponse.CopyTo(memory); 4582secondPartOfResponse.CopyTo(memory.Slice(6)); 5925fisrtPartOfResponse.CopyTo(memory);
ResponseTests.cs (8)
3907fisrtPartOfResponse.CopyTo(memory); 3911secondPartOfResponse.CopyTo(memory.Slice(6)); 3968fisrtPartOfResponse.CopyTo(memory); 3971secondPartOfResponse.CopyTo(memory.Slice(6)); 4103Encoding.ASCII.GetBytes("a").CopyTo(memory); 4149Encoding.ASCII.GetBytes("a").CopyTo(memory); 4202Encoding.ASCII.GetBytes("a").CopyTo(memory); 4209Encoding.ASCII.GetBytes("a").CopyTo(memory);
src\Servers\Kestrel\shared\test\TestApp.cs (2)
55buffer.CopyTo(memory); 73bytes.CopyTo(memory);
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
246randomBytes.CopyTo(memory);
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Components\Shared\src\PullFromJSDataStream.cs (1)
83bytesRead.CopyTo(buffer);
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\PullFromJSDataStream.cs (1)
83bytesRead.CopyTo(buffer);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\TestApp.cs (2)
55buffer.CopyTo(memory); 73bytes.CopyTo(memory);
Sockets.FunctionalTests (2)
src\Servers\Kestrel\shared\test\TestApp.cs (2)
55buffer.CopyTo(memory); 73bytes.CopyTo(memory);