From f89a586b7573d2201b5a70d3e9cd0c27c0c84d04 Mon Sep 17 00:00:00 2001 From: Louis DeJardin Date: Sat, 19 Sep 2015 11:27:54 -0700 Subject: [PATCH] Removing boilerplate-generated #region --- .../Infrastructure/Disposable.cs | 3 --- .../Infrastructure/MemoryPool2.cs | 3 --- .../Infrastructure/MemoryPoolSlab2.cs | 3 --- 3 files changed, 9 deletions(-) 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 } }