Imported Upstream version 5.0.1.1

Former-commit-id: ffd3a248ace900b177db27aa87e5c702a9bc7322
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-05-24 10:59:19 +00:00
parent 9cc54951a2
commit 4bdbaf4a88
74 changed files with 63 additions and 64 deletions

View File

@@ -73,7 +73,7 @@ namespace System.IO.Compression
}
public override IAsyncResult BeginRead(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState) =>
TaskToApm.Begin(WriteAsync(array, offset, count, CancellationToken.None), asyncCallback, asyncState);
TaskToApm.Begin(ReadAsync(array, offset, count, CancellationToken.None), asyncCallback, asyncState);
public override int EndRead(IAsyncResult asyncResult) =>
TaskToApm.End<int>(asyncResult);