28 references to _pendingBuffer
System.Net.Security (28)
System\Net\Security\TlsSession.cs (28)
205public bool HasPendingOutput => _pendingBuffer.ActiveLength > 0; 871if (_pendingBuffer.ActiveLength > 0) 874return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1074if (_pendingBuffer.ActiveLength > 0) 1101if (_pendingBuffer.ActiveLength > 0) 1104if (_pendingBuffer.ActiveLength > 0) 1163if (_pendingBuffer.ActiveLength > 0) 1166return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1212return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1233if (_pendingBuffer.ActiveLength > 0) 1426if (_pendingBuffer.ActiveLength == 0) 1452return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1532return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Closed; 1541return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1553_pendingBuffer.EnsureAvailableSpace(data.Length); 1554data.CopyTo(_pendingBuffer.AvailableSpan); 1555_pendingBuffer.Commit(data.Length); 1560int n = Math.Min(output.Length, _pendingBuffer.ActiveLength); 1566_pendingBuffer.ActiveSpan.Slice(0, n).CopyTo(output); 1567_pendingBuffer.Discard(n); 1915while (_pendingBuffer.ActiveLength > 0) 1918_pendingBuffer.ActiveReadOnlySpan, 1924_pendingBuffer.Discard(sent); 1925if (_pendingBuffer.ActiveLength == 0) 1966if (_pendingBuffer.ActiveLength > 0) 2153if (_pendingBuffer.ActiveLength > 0) 2243if (_pendingBuffer.ActiveLength > 0) 2359_pendingBuffer.Dispose();