Imported Upstream version 4.6.0.182

Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-09-01 10:46:18 +00:00
parent c911219690
commit 804b15604f
118 changed files with 1007 additions and 891 deletions

View File

@ -70,21 +70,21 @@ namespace System.IO.Compression {
base.Dispose (disposing);
}
public override int Read (byte[] dest, int dest_offset, int count)
public override int Read (byte[] array, int offset, int count)
{
if (deflateStream == null)
throw new ObjectDisposedException (GetType ().FullName);
return deflateStream.Read(dest, dest_offset, count);
return deflateStream.Read(array, offset, count);
}
public override void Write (byte[] src, int src_offset, int count)
public override void Write (byte[] array, int offset, int count)
{
if (deflateStream == null)
throw new ObjectDisposedException (GetType ().FullName);
deflateStream.Write (src, src_offset, count);
deflateStream.Write (array, offset, count);
}
public override void Flush()