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