You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
@ -40,16 +40,15 @@ namespace System.IO.Compression {
|
||||
{
|
||||
private DeflateStream deflateStream;
|
||||
|
||||
public GZipStream (Stream compressedStream, CompressionMode mode) :
|
||||
this (compressedStream, mode, false) {
|
||||
public GZipStream (Stream stream, CompressionMode mode) :
|
||||
this (stream, mode, false) {
|
||||
}
|
||||
|
||||
public GZipStream (Stream compressedStream, CompressionMode mode, bool leaveOpen) {
|
||||
this.deflateStream = new DeflateStream (compressedStream, mode, leaveOpen, true);
|
||||
public GZipStream (Stream stream, CompressionMode mode, bool leaveOpen) {
|
||||
this.deflateStream = new DeflateStream (stream, mode, leaveOpen, true);
|
||||
}
|
||||
|
||||
|
||||
#if NET_4_5
|
||||
public GZipStream (Stream stream, CompressionLevel compressionLevel)
|
||||
: this (stream, compressionLevel, false)
|
||||
{
|
||||
@ -59,7 +58,6 @@ namespace System.IO.Compression {
|
||||
{
|
||||
this.deflateStream = new DeflateStream (stream, compressionLevel, leaveOpen, true);
|
||||
}
|
||||
#endif
|
||||
|
||||
protected override void Dispose (bool disposing)
|
||||
{
|
||||
|
Reference in New Issue
Block a user