System.Reactive.PlatformServices \
System.Reactive.Experimental \
System.Reactive.Debugger \
- System.Net.Http
+ System.Net.Http \
+ System.IO.Compression \
+ System.IO.Compression.FileSystem
monodroid_dirs := \
Mono.CompilerServices.SymbolWriter \
System.Web.Http.SelfHost \
EntityFramework \
EntityFramework.SqlServer \
- Mono.CodeContracts
-
+ Mono.CodeContracts \
+ System.IO.Compression \
+ System.IO.Compression.FileSystem
+
net_2_0_SUBDIRS := $(common_dirs) $(net_2_0_dirs) $(net_2_0_only_dirs) aot-compiler
monodroid_SUBDIRS := $(mobile_dirs) $(monodroid_dirs)
monotouch_SUBDIRS := $(mobile_dirs)
--- /dev/null
+//
+// Author:
+// Martin Baulig <martin.baulig@xamarin.com>
+//
+// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+using System;
+using System.Reflection;
+
+[assembly: AssemblyTitle ("System.IO.Compression.FileSystem.dll")]
+[assembly: AssemblyDescription ("System.IO.Compression.FileSystem.dll")]
+[assembly: AssemblyDefaultAlias ("System.IO.Compression.FileSystem.dll")]
+
+[assembly: AssemblyCompany (Consts.MonoCompany)]
+[assembly: AssemblyProduct (Consts.MonoProduct)]
+[assembly: AssemblyCopyright (Consts.MonoCopyright)]
+[assembly: AssemblyVersion (Consts.FxVersion)]
+[assembly: AssemblyInformationalVersion (Consts.FxFileVersion)]
+[assembly: AssemblyFileVersion (Consts.FxFileVersion)]
+[assembly: AssemblyDelaySign (true)]
+[assembly: AssemblyKeyFile ("../../ecma.pub")]
--- /dev/null
+thisdir = class/System.IO.Compression.FileSystem
+SUBDIRS =
+include ../../build/rules.make
+
+LIBRARY = System.IO.Compression.FileSystem.dll
+LIB_MCS_FLAGS = /r:System /r:System.IO.Compression.dll
+
+NO_TEST = yes
+
+include ../../build/library.make
--- /dev/null
+AssemblyInfo.cs
+ZipFile.cs
+ZipFileExtensions.cs
+../../build/common/Consts.cs
+../../build/common/MonoTODOAttribute.cs
\ No newline at end of file
--- /dev/null
+//
+// ZipFile.cs
+//
+// Author:
+// Martin Baulig <martin.baulig@xamarin.com>
+//
+// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+using System;
+using System.Text;
+
+namespace System.IO.Compression
+{
+ [MonoTODO]
+ public static class ZipFile
+ {
+ public static void CreateFromDirectory (
+ string sourceDirectoryName, string destinationArchiveFileName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static void CreateFromDirectory (
+ string sourceDirectoryName, string destinationArchiveFileName,
+ CompressionLevel compressionLevel, bool includeBaseDirectory)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static void CreateFromDirectory (
+ string sourceDirectoryName,
+ string destinationArchiveFileName,
+ CompressionLevel compressionLevel,
+ bool includeBaseDirectory,
+ Encoding entryNameEncoding)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static void ExtractToDirectory (
+ string sourceArchiveFileName, string destinationDirectoryName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static void ExtractToDirectory (
+ string sourceArchiveFileName, string destinationDirectoryName,
+ Encoding entryNameEncoding)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static ZipArchive Open (
+ string archiveFileName, ZipArchiveMode mode)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static ZipArchive Open (
+ string archiveFileName, ZipArchiveMode mode,
+ Encoding entryNameEncoding)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static ZipArchive OpenRead (string archiveFileName)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
--- /dev/null
+//
+// ZipFileExtensions.cs
+//
+// Author:
+// Martin Baulig <martin.baulig@xamarin.com>
+//
+// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+using System;
+
+namespace System.IO.Compression
+{
+ [MonoTODO]
+ public static class ZipFileExtensions
+ {
+ public static ZipArchiveEntry CreateEntryFromFile (
+ this ZipArchive destination, string sourceFileName,
+ string entryName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static ZipArchiveEntry CreateEntryFromFile (
+ this ZipArchive destination, string sourceFileName,
+ string entryName, CompressionLevel compressionLevel
+ )
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static void ExtractToDirectory (
+ this ZipArchive source,
+ string destinationDirectoryName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static void ExtractToFile (
+ this ZipArchiveEntry source,
+ string destinationFileName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static void ExtractToFile (
+ this ZipArchiveEntry source, string destinationFileName,
+ bool overwrite)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
--- /dev/null
+//
+// Author:
+// Martin Baulig <martin.baulig@xamarin.com>
+//
+// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+using System;
+using System.Reflection;
+
+[assembly: AssemblyTitle ("System.IO.Compression.dll")]
+[assembly: AssemblyDescription ("System.IO.Compression.dll")]
+[assembly: AssemblyDefaultAlias ("System.IO.Compression.dll")]
+
+[assembly: AssemblyCompany (Consts.MonoCompany)]
+[assembly: AssemblyProduct (Consts.MonoProduct)]
+[assembly: AssemblyCopyright (Consts.MonoCopyright)]
+[assembly: AssemblyVersion (Consts.FxVersion)]
+[assembly: AssemblyInformationalVersion (Consts.FxFileVersion)]
+[assembly: AssemblyFileVersion (Consts.FxFileVersion)]
+[assembly: AssemblyDelaySign (true)]
+[assembly: AssemblyKeyFile ("../../ecma.pub")]
--- /dev/null
+thisdir = class/System.IO.Compression
+SUBDIRS =
+include ../../build/rules.make
+
+LIBRARY = System.IO.Compression.dll
+LIB_MCS_FLAGS = /r:System
+
+NO_TEST = yes
+
+include ../../build/library.make
--- /dev/null
+AssemblyInfo.cs
+TypeForwarders.cs
+ZipArchive.cs
+ZipArchiveEntry.cs
+ZipArchiveMode.cs
+../../build/common/Consts.cs
+../../build/common/MonoTODOAttribute.cs
\ No newline at end of file
--- /dev/null
+//
+// TypeForwarders.cs
+//
+// Author:
+// Martin Baulig <martin.baulig@xamarin.com>
+//
+// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.Compression.CompressionMode))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.Compression.DeflateStream))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.Compression.GZipStream))]
+
--- /dev/null
+//
+// ZipArchive.cs
+//
+// Author:
+// Martin Baulig <martin.baulig@xamarin.com>
+//
+// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Text;
+
+namespace System.IO.Compression
+{
+ [MonoTODO]
+ public class ZipArchive : IDisposable
+ {
+ public ZipArchive (Stream stream)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public ZipArchive (Stream stream, ZipArchiveMode mode)
+ : this (stream)
+ {
+ }
+
+ public ZipArchive (Stream stream, ZipArchiveMode mode,
+ bool leaveOpen)
+ : this (stream, mode)
+ {
+ }
+
+ public ZipArchive (Stream stream, ZipArchiveMode mode,
+ bool leaveOpen, Encoding entryNameEncoding)
+ : this (stream, mode, leaveOpen)
+ {
+ }
+
+ public ReadOnlyCollection<ZipArchiveEntry> Entries {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public ZipArchiveMode Mode {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public ZipArchiveEntry CreateEntry (string entryName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public ZipArchiveEntry CreateEntry (string entryName,
+ CompressionLevel compressionLevel)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public ZipArchiveEntry GetEntry (string entryName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ protected virtual void Dispose (bool disposing)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public void Dispose ()
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
--- /dev/null
+//
+// ZipArchiveEntry.cs
+//
+// Author:
+// Martin Baulig <martin.baulig@xamarin.com>
+//
+// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+using System;
+
+namespace System.IO.Compression
+{
+ [MonoTODO]
+ public class ZipArchiveEntry
+ {
+ public ZipArchive Archive {
+ get;
+ private set;
+ }
+
+ public long CompressedLength {
+ get;
+ private set;
+ }
+
+ public string FullName {
+ get;
+ private set;
+ }
+
+ public DateTimeOffset LastWriteTime {
+ get; set;
+ }
+
+ public long Length {
+ get;
+ private set;
+ }
+
+ public string Name {
+ get;
+ private set;
+ }
+
+ public void Delete ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ public Stream Open ()
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
--- /dev/null
+//
+// ZipArchiveMode.cs
+//
+// Author:
+// Martin Baulig <martin.baulig@xamarin.com>
+//
+// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+using System;
+
+namespace System.IO.Compression
+{
+ public enum ZipArchiveMode
+ {
+ Read,
+ Create,
+ Update
+ }
+}
+
--- /dev/null
+//
+// Authors:
+// Martin Baulig (martin.baulig@xamarin.com)
+//
+// Copyright 2012 Xamarin Inc. (http://www.xamarin.com)
+//
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_4_5
+namespace System.IO.Compression {
+ public enum CompressionLevel {
+ Optional,
+ Fastest,
+ NoCompression
+ }
+}
+#endif
this.mode = mode;
this.leaveOpen = leaveOpen;
}
+
+#if NET_4_5
+ [MonoTODO]
+ public DeflateStream (Stream stream, CompressionLevel compressionLevel)
+ : this (stream, CompressionMode.Compress)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public DeflateStream (Stream stream, CompressionLevel compressionLevel, bool leaveOpen)
+ : this (stream, CompressionMode.Compress, leaveOpen)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
protected override void Dispose (bool disposing)
{
public GZipStream (Stream compressedStream, CompressionMode mode, bool leaveOpen) {
this.deflateStream = new DeflateStream (compressedStream, mode, leaveOpen, true);
}
+
+
+#if NET_4_5
+ [MonoTODO]
+ public GZipStream (Stream stream, CompressionLevel compressionLevel)
+ : this (stream, CompressionMode.Compress)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public GZipStream (Stream stream, CompressionLevel compressionLevel, bool leaveOpen)
+ : this (stream, CompressionMode.Compress, leaveOpen)
+ {
+ throw new NotImplementedException ();
+ }
+#endif
protected override void Dispose (bool disposing)
{
System/GopherStyleUriParser.cs
System/HttpStyleUriParser.cs
System/Platform.cs
+System.IO.Compression/CompressionLevel.cs
System.IO.Compression/CompressionMode.cs
System.IO.Compression/DeflateStream.cs
System.IO.Compression/GZipStream.cs
System.Diagnostics/ThreadPriorityLevel.cs
System.Diagnostics/ThreadState.cs
System.Diagnostics/ThreadWaitReason.cs
+System.IO.Compression/CompressionLevel.cs
System.IO.Compression/CompressionMode.cs
System.IO.Compression/DeflateStream.cs
System.IO.Compression/GZipStream.cs