25 references to ValidateCopyToArguments
System.IO.Compression (2)
System\IO\Compression\DeflateZLib\DeflateStream.cs (2)
891ValidateCopyToArguments(destination, bufferSize); 901ValidateCopyToArguments(destination, bufferSize);
System.Memory (2)
System\Buffers\ReadOnlySequenceStream.cs (2)
134ValidateCopyToArguments(destination, bufferSize); 154ValidateCopyToArguments(destination, bufferSize);
System.Net.Http (9)
System\Net\Http\EmptyReadStream.cs (1)
30ValidateCopyToArguments(destination, bufferSize);
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (1)
246ValidateCopyToArguments(destination, bufferSize);
System\Net\Http\SocketsHttpHandler\ConnectionCloseReadStream.cs (1)
92ValidateCopyToArguments(destination, bufferSize);
System\Net\Http\SocketsHttpHandler\ContentLengthReadStream.cs (1)
121ValidateCopyToArguments(destination, bufferSize);
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (2)
310ValidateCopyToArguments(destination, bufferSize); 424ValidateCopyToArguments(destination, bufferSize);
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (2)
1624ValidateCopyToArguments(destination, bufferSize); 1631ValidateCopyToArguments(destination, bufferSize);
System\Net\Http\SocketsHttpHandler\RawConnectionStream.cs (1)
95ValidateCopyToArguments(destination, bufferSize);
System.Private.CoreLib (12)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (2)
1249ValidateCopyToArguments(destination, bufferSize); 1276ValidateCopyToArguments(destination, bufferSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (2)
521ValidateCopyToArguments(destination, bufferSize); 528ValidateCopyToArguments(destination, bufferSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs (2)
447ValidateCopyToArguments(destination, bufferSize); 468ValidateCopyToArguments(destination, bufferSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\ReadOnlyMemoryStream.cs (2)
185ValidateCopyToArguments(destination, bufferSize); 198ValidateCopyToArguments(destination, bufferSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (2)
53ValidateCopyToArguments(destination, bufferSize); 87ValidateCopyToArguments(destination, bufferSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\WritableMemoryStream.cs (2)
187ValidateCopyToArguments(destination, bufferSize); 200ValidateCopyToArguments(destination, bufferSize);