public BufferHandle Retain() { if (_owner != null) { _owner.Retain(); return(new BufferHandle(_owner)); } return(new BufferHandle()); }
internal DisposableReservation(OwnedBuffer <T> owner) { _owner = owner; _owner.Retain(); }
public BufferHandle Retain() { _owner.Retain(); return(new BufferHandle(_owner)); }