Fix the throwing exception from ChannelReader.ReadAsync (dotnet/corefx#27070)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Mon, 12 Feb 2018 19:20:55 +0000 (11:20 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2018 19:20:55 +0000 (11:20 -0800)
commitc331042d322c4f66ae46ac89380a074f8003197c
tree0a2bc6ba72b7d0da1acad1b23e72651d2b8d2fa5
parentd1e0b0b1bdc1f64db65bc78a40e67122e57eeec1
Fix the throwing exception from ChannelReader.ReadAsync (dotnet/corefx#27070)

Commit migrated from https://github.com/dotnet/corefx/commit/20d9824ac3f877b2a72dd6a729134e0c5fd960ee
src/libraries/System.Threading.Channels/src/System/Threading/Channels/ChannelReader.cs
src/libraries/System.Threading.Channels/tests/ChannelTests.cs