4 references to SetOwnedMemory
System.IO.Pipelines (4)
System\IO\Pipelines\Pipe.cs (2)
282segment.SetOwnedMemory(pool!.Rent(GetSegmentSize(sizeHint, maxSize))); 323segment.SetOwnedMemory(owner);
System\IO\Pipelines\StreamPipeReader.cs (1)
520nextSegment.SetOwnedMemory(_options.Pool.Rent(sizeToRequest));
System\IO\Pipelines\StreamPipeWriter.cs (1)
161newSegment.SetOwnedMemory(_pool!.Rent(GetSegmentSize(sizeHint, maxSize)));