3 references to SetOwnedMemory
System.IO.Pipelines (3)
System\IO\Pipelines\Pipe.cs (1)
247
segment.
SetOwnedMemory
(pool!.Rent(GetSegmentSize(sizeHint, maxSize)));
System\IO\Pipelines\StreamPipeReader.cs (1)
522
nextSegment.
SetOwnedMemory
(_options.Pool.Rent(sizeToRequest));
System\IO\Pipelines\StreamPipeWriter.cs (1)
161
newSegment.
SetOwnedMemory
(_pool!.Rent(GetSegmentSize(sizeHint, maxSize)));