28 references to _pendingBuffer
System.Net.Security (28)
System\Net\Security\TlsSession.cs (28)
199public bool HasPendingOutput => _pendingBuffer.ActiveLength > 0; 865if (_pendingBuffer.ActiveLength > 0) 868return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1068if (_pendingBuffer.ActiveLength > 0) 1095if (_pendingBuffer.ActiveLength > 0) 1098if (_pendingBuffer.ActiveLength > 0) 1157if (_pendingBuffer.ActiveLength > 0) 1160return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1206return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1227if (_pendingBuffer.ActiveLength > 0) 1420if (_pendingBuffer.ActiveLength == 0) 1446return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1526return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Closed; 1535return _pendingBuffer.ActiveLength > 0 ? TlsOperationStatus.DestinationTooSmall : TlsOperationStatus.Complete; 1547_pendingBuffer.EnsureAvailableSpace(data.Length); 1548data.CopyTo(_pendingBuffer.AvailableSpan); 1549_pendingBuffer.Commit(data.Length); 1554int n = Math.Min(output.Length, _pendingBuffer.ActiveLength); 1560_pendingBuffer.ActiveSpan.Slice(0, n).CopyTo(output); 1561_pendingBuffer.Discard(n); 1909while (_pendingBuffer.ActiveLength > 0) 1912_pendingBuffer.ActiveReadOnlySpan, 1918_pendingBuffer.Discard(sent); 1919if (_pendingBuffer.ActiveLength == 0) 1960if (_pendingBuffer.ActiveLength > 0) 2147if (_pendingBuffer.ActiveLength > 0) 2237if (_pendingBuffer.ActiveLength > 0) 2353_pendingBuffer.Dispose();