You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No-op ConcurrentStack.PushRange(T[]) if empty (#62126)
* No-op ConcurrentStack.PushRange(T[]) if empty
Resolves#62121.
* Add more bounds checks
Assert that ArgumentOutOfRangeException is thrown if specifying indexes for an empty array with PushRange(T[], int, int).
* Review feedback
Allow out-of-bounds index on empty array if count is zero.
* Add extra test case
Add a further test case for a non-empty array but with a count parameter value of zero.
0 commit comments