Use simple Array.Copy overload where possible (dotnet/coreclr#27641)
commitdeb3115b15db9aa87816e64edf118aeca5feb8bd
authorJan Kotas <jkotas@microsoft.com>
Sun, 3 Nov 2019 12:07:39 +0000 (3 04:07 -0800)
committerMarek Safar <marek.safar@gmail.com>
Mon, 4 Nov 2019 07:57:17 +0000 (4 08:57 +0100)
tree50a214d414dfdf4f65514ca47de9b028605d6de0
parent6ecf9e87bae7ed60119edc197e45ba306d658652
Use simple Array.Copy overload where possible (dotnet/coreclr#27641)

The simple Array.Copy overload does not come with a performance penalty anymore.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
14 files changed:
netcore/System.Private.CoreLib/shared/System/Collections/ArrayList.cs
netcore/System.Private.CoreLib/shared/System/Collections/Generic/Dictionary.cs
netcore/System.Private.CoreLib/shared/System/Collections/Generic/List.cs
netcore/System.Private.CoreLib/shared/System/DefaultBinder.cs
netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs
netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSet.cs
netcore/System.Private.CoreLib/shared/System/Globalization/CultureData.cs
netcore/System.Private.CoreLib/shared/System/Globalization/StringInfo.cs
netcore/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfo.cs
netcore/System.Private.CoreLib/shared/System/Text/EncodingProvider.cs
netcore/System.Private.CoreLib/shared/System/Text/StringBuilder.cs
netcore/System.Private.CoreLib/shared/System/Threading/AsyncLocal.cs
netcore/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs