2 references to ReadAllAsync
System.Net.Security (2)
System\Net\Security\NegotiateStream.cs (2)
366
int readBytes = await
ReadAllAsync
(InnerStream, _readHeader, allowZeroRead: true, cancellationToken).ConfigureAwait(false);
391
readBytes = await
ReadAllAsync
(InnerStream, new Memory<byte>(_readBuffer, 0, readBytes), allowZeroRead: false, cancellationToken).ConfigureAwait(false);