Updated RemoveAt->RemoveItem. This change removes redundent validation checks that...
authorAndrew Hoefling <andrew@hoeflingsoftware.com>
Tue, 5 Mar 2019 23:46:05 +0000 (18:46 -0500)
committerSantiago Fernandez Madero <safern@microsoft.com>
Fri, 8 Mar 2019 19:20:58 +0000 (11:20 -0800)
commitcdb34d408a840f67627fc902b0159eab35db119a
treeaf0176ecaf8328ffed3b505f2ea18714a91e8113
parent0ff8f831b323d5be88dd4983651ac5da8c038110
Updated RemoveAt->RemoveItem. This change removes redundent validation checks that happen using the RemoveAt API. RemoveItem gives us direct access to invoke the command

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