mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 19:10:41 -10:00
Assert.Equals on arrays boxes each element and then performs a complex operation to compare each box. This is slow for large arrays, and extremely slow for large arrays on checked CoreCLR. Use AssertExtensions.Equal for large arrays in File.Copy tests to make them reasonably fast on checked CoreCLR. Commit migrated from https://github.com/dotnet/corefx/commit/c53300f0696c4817bc06a8ef8711a0bb46f362ec