13 references to AsyncReadWriteAdapter
System.Net.Security (13)
System\Net\Security\NegotiateStream.cs (6)
200
return AuthenticateAsync<
AsyncReadWriteAdapter
>(default(CancellationToken));
216
return AuthenticateAsync<
AsyncReadWriteAdapter
>(default(CancellationToken));
324
return ReadAsync<
AsyncReadWriteAdapter
>(new Memory<byte>(buffer, offset, count), cancellationToken).AsTask();
335
return ReadAsync<
AsyncReadWriteAdapter
>(buffer, cancellationToken);
488
return WriteAsync<
AsyncReadWriteAdapter
>(new ReadOnlyMemory<byte>(buffer, offset, count), cancellationToken);
500
return new ValueTask(WriteAsync<
AsyncReadWriteAdapter
>(buffer, cancellationToken));
System\Net\Security\SslStream.cs (5)
701
return RenegotiateAsync<
AsyncReadWriteAdapter
>(cancellationToken);
872
return WriteAsyncInternal<
AsyncReadWriteAdapter
>(new ReadOnlyMemory<byte>(buffer, offset, count), cancellationToken).AsTask();
878
return WriteAsyncInternal<
AsyncReadWriteAdapter
>(buffer, cancellationToken);
885
return ReadAsyncInternal<
AsyncReadWriteAdapter
>(new Memory<byte>(buffer, offset, count), cancellationToken).AsTask();
891
return ReadAsyncInternal<
AsyncReadWriteAdapter
>(buffer, cancellationToken);
System\Net\Security\SslStream.IO.cs (2)
120
ForceAuthenticationAsync<
AsyncReadWriteAdapter
>(IsServer, null, cancellationToken) :
143
ForceAuthenticationAsync<
AsyncReadWriteAdapter
>(IsServer, null, cancellationToken) :