27 references to _pendingBuffer
System.Net.Security (27)
System\Net\Security\TlsSession.cs (27)
219public bool HasPendingOutput => _pendingBuffer.ActiveLength > 0; 905if (_pendingBuffer.ActiveLength > 0) 908return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1136if (_pendingBuffer.ActiveLength > 0) 1163if (_pendingBuffer.ActiveLength > 0) 1166if (_pendingBuffer.ActiveLength > 0) 1225if (_pendingBuffer.ActiveLength > 0) 1228return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1274return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1295if (_pendingBuffer.ActiveLength > 0) 1561if (_pendingBuffer.ActiveLength > 0) 1649return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Closed; 1658return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1670_pendingBuffer.EnsureAvailableSpace(data.Length); 1671data.CopyTo(_pendingBuffer.AvailableSpan); 1672_pendingBuffer.Commit(data.Length); 1677int n = Math.Min(output.Length, _pendingBuffer.ActiveLength); 1683_pendingBuffer.ActiveSpan.Slice(0, n).CopyTo(output); 1684_pendingBuffer.Discard(n); 2076while (_pendingBuffer.ActiveLength > 0) 2079_pendingBuffer.ActiveReadOnlySpan, 2085_pendingBuffer.Discard(sent); 2086if (_pendingBuffer.ActiveLength == 0) 2127if (_pendingBuffer.ActiveLength > 0) 2322if (_pendingBuffer.ActiveLength > 0) 2412if (_pendingBuffer.ActiveLength > 0) 2544_pendingBuffer.Dispose();