Skip to content

Commit

Permalink
Delete stale comment about dotnet/roslyn#30797
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub authored Nov 9, 2020
1 parent f8d88a4 commit 7b93881
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libraries/System.Memory/src/System/Buffers/MemoryPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ public abstract class MemoryPool<T> : IDisposable
{
// 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<T> s_shared = new ArrayMemoryPool<T>();

/// <summary>
Expand Down

0 comments on commit 7b93881

Please sign in to comment.