Added new RemoveRange validation check to see if the resulting range (index + count...
authorAndrew Hoefling <andrew@hoeflingsoftware.com>
Wed, 6 Mar 2019 01:31:19 +0000 (20:31 -0500)
committerSantiago Fernandez Madero <safern@microsoft.com>
Fri, 8 Mar 2019 19:20:58 +0000 (11:20 -0800)
commite9de202a860a669e31acbc57c9f677216b466d0b
tree0f8c09c76ea0a50525389da7e9b7f13a40ff585d
parent14a6e16c6a55f33ee2204d43bd90f1592826c1db
Added new RemoveRange validation check to see if the resulting range (index + count) > items.Count and if it is true throw ArgumentException

Commit migrated from https://github.com/dotnet/coreclr/commit/f48e28bbd7e14fe9b6c708fe57624324a5e604eb
src/libraries/System.Private.CoreLib/src/System/Collections/ObjectModel/Collection.cs