rackerlabs/dotnet-threading — pull request #53 by sharwell (2014-08-08 20:30:52+00:00)
Title: Stream tweaks

* Make sure `FlushAsync` executes the flush operation on the default task scheduler
* Throw the expected `ArgumentNullException` instead of `NullReferenceException` if the stream is null in `WriteAsync`
* Check the `CancellationToken` in `WriteAsync`