diff options
Diffstat (limited to 'src/mscorlib/corefx/System/Buffers/ConfigurableArrayPool.cs')
-rw-r--r-- | src/mscorlib/corefx/System/Buffers/ConfigurableArrayPool.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/corefx/System/Buffers/ConfigurableArrayPool.cs b/src/mscorlib/corefx/System/Buffers/ConfigurableArrayPool.cs index 1e0e769530..f7b6034d20 100644 --- a/src/mscorlib/corefx/System/Buffers/ConfigurableArrayPool.cs +++ b/src/mscorlib/corefx/System/Buffers/ConfigurableArrayPool.cs @@ -70,7 +70,7 @@ namespace System.Buffers { // No need for events with the empty array. Our pool is effectively infinite // and we'll never allocate for rents and never store for returns. - return EmptyArray<T>.Value; + return Array.Empty<T>(); } var log = ArrayPoolEventSource.Log; |