diff --git a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/Disposable.cs b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/Disposable.cs index 9ad2e36a1d..b3fcbbb0a3 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/Disposable.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/Disposable.cs @@ -18,8 +18,6 @@ namespace Microsoft.AspNet.Server.Kestrel _dispose = dispose; } - #region IDisposable Support - protected virtual void Dispose(bool disposing) { if (!disposedValue) @@ -41,6 +39,5 @@ namespace Microsoft.AspNet.Server.Kestrel Dispose(true); GC.SuppressFinalize(this); } - #endregion } } \ No newline at end of file diff --git a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPool2.cs b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPool2.cs index 80705def58..4a209c047d 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPool2.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPool2.cs @@ -126,8 +126,6 @@ namespace Microsoft.AspNet.Server.Kestrel.Infrastructure _blocks.Push(block); } - #region IDisposable Support - protected virtual void Dispose(bool disposing) { if (!disposedValue) @@ -164,6 +162,5 @@ namespace Microsoft.AspNet.Server.Kestrel.Infrastructure // N/A: uncomment the following line if the finalizer is overridden above. // GC.SuppressFinalize(this); } - #endregion } } diff --git a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPoolSlab2.cs b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPoolSlab2.cs index 9e5e3bb2eb..6d277062e9 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPoolSlab2.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPoolSlab2.cs @@ -57,8 +57,6 @@ namespace Microsoft.AspNet.Server.Kestrel.Infrastructure }; } - #region IDisposable Support - protected virtual void Dispose(bool disposing) { if (!disposedValue) @@ -94,6 +92,5 @@ namespace Microsoft.AspNet.Server.Kestrel.Infrastructure // uncomment the following line if the finalizer is overridden above. GC.SuppressFinalize(this); } - #endregion } }