System.IO.Tests.ManuallyReleaseAsyncOperationsStream.WriteAsync C# (CSharp) Method

WriteAsync() public method

public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
return Task
        public override async Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
        {
            await _tcs.Task;
            await base.WriteAsync(buffer, offset, count, cancellationToken);
        }