Replace Array.Copy(src, dst, int) calls with Array.Copy(src, 0, dst, 0, int) by stephentoub · Pull Request #21756 · dotnet/coreclr (original) (raw)
The former calls GetLowerBound(0) on both src and dst, which is unnecessary when the arrays are T[] and thus always have a lower bound of 0.
…0, int)
The former calls GetLowerBound(0) on both src and dst, which is unnecessary when the arrays are T[] and thus always have a lower bound of 0.
picenka21 pushed a commit to picenka21/runtime that referenced this pull request
…0, int) (dotnet/coreclr#21756)
The former calls GetLowerBound(0) on both src and dst, which is unnecessary when the arrays are T[] and thus always have a lower bound of 0.
Commit migrated from dotnet/coreclr@6911791