Compare commits

...

2 Commits

Author SHA1 Message Date
Adam Hathcock
02f68b793c Mark for 0.19.2 2017-12-16 09:08:17 +00:00
Adam Hathcock
57b9133a0f Change namespace and visibility to avoid collisions (#333) 2017-12-16 09:05:21 +00:00
6 changed files with 14 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
using System.Runtime.CompilerServices;
using System.Threading;
namespace System.Buffers
namespace SharpCompress.Buffers
{
/// <summary>
/// Provides a resource pool that enables reusing instances of type <see cref="T:T[]"/>.
@@ -20,7 +20,7 @@ namespace System.Buffers
/// This class is thread-safe. All members may be used by multiple threads concurrently.
/// </para>
/// </remarks>
public abstract class ArrayPool<T>
internal abstract class ArrayPool<T>
{
/// <summary>The lazily-initialized shared pool instance.</summary>
private static ArrayPool<T> s_sharedInstance = null;

View File

@@ -2,7 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#if NETCORE
namespace System.Buffers
using System;
namespace SharpCompress.Buffers
{
internal sealed partial class DefaultArrayPool<T> : ArrayPool<T>
{

View File

@@ -3,10 +3,11 @@
// See the LICENSE file in the project root for more information.
#if NETCORE
using System;
using System.Diagnostics;
using System.Threading;
namespace System.Buffers
namespace SharpCompress.Buffers
{
internal sealed partial class DefaultArrayPool<T> : ArrayPool<T>
{

View File

@@ -5,7 +5,7 @@
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace System.Buffers
namespace SharpCompress.Buffers
{
internal static class Utilities
{

View File

@@ -2,9 +2,9 @@
<PropertyGroup>
<AssemblyTitle>SharpCompress - Pure C# Decompression/Compression</AssemblyTitle>
<NeutralLanguage>en-US</NeutralLanguage>
<VersionPrefix>0.19.1</VersionPrefix>
<AssemblyVersion>0.19.1.0</AssemblyVersion>
<FileVersion>0.19.1.0</FileVersion>
<VersionPrefix>0.19.2</VersionPrefix>
<AssemblyVersion>0.19.2.0</AssemblyVersion>
<FileVersion>0.19.2.0</FileVersion>
<Authors>Adam Hathcock</Authors>
<TargetFrameworks Condition="'$(LibraryFrameworks)'==''">net45;net35;netstandard1.0;netstandard1.3;netstandard2.0</TargetFrameworks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

View File

@@ -1,10 +1,10 @@
using System;
#if NETCORE
using System.Buffers;
#endif
using System.Collections.Generic;
using System.IO;
using System.Linq;
#if NETCORE
using SharpCompress.Buffers;
#endif
using SharpCompress.Readers;
namespace SharpCompress