From 7b93881c6c7725fa77fb71fa58277608bd873399 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Sun, 8 Nov 2020 21:17:20 -0500 Subject: [PATCH] Delete stale comment about dotnet/roslyn#30797 --- src/libraries/System.Memory/src/System/Buffers/MemoryPool.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libraries/System.Memory/src/System/Buffers/MemoryPool.cs b/src/libraries/System.Memory/src/System/Buffers/MemoryPool.cs index 57be4b1..8f037f5 100644 --- a/src/libraries/System.Memory/src/System/Buffers/MemoryPool.cs +++ b/src/libraries/System.Memory/src/System/Buffers/MemoryPool.cs @@ -10,10 +10,6 @@ namespace System.Buffers { // Store the shared ArrayMemoryPool in a field of its derived sealed type so the Jit can "see" the exact type // when the Shared property is inlined which will allow it to devirtualize calls made on it. - // - // Roslyn proposal https://github.com/dotnet/roslyn/issues/30797 where field initalizer, - // backing field and property could be combined via `{ get } = ` to support devirtualization - // by having the auto-backing field be created as the derived type rather than the exposed type. private static readonly ArrayMemoryPool s_shared = new ArrayMemoryPool(); /// -- 2.7.4