Remove unnecessary null checks from KeyedCollection
authorJustin Van Patten <jvp@justinvp.com>
Fri, 27 Nov 2015 22:46:07 +0000 (14:46 -0800)
committerJustin Van Patten <jvp@justinvp.com>
Fri, 27 Nov 2015 22:46:07 +0000 (14:46 -0800)
commit4b5e9e6b7098cfc12506f451064e0e97c0a84ce6
tree23cfd5da0fba0df3754241f353ec223953ea9c12
parent0bacd2fd4cdd660315652431510708380276a452
Remove unnecessary null checks from KeyedCollection

Contains and Remove already throw if the key is null, so there's no
need for additional null checks later in these methods.
src/mscorlib/src/System/Collections/ObjectModel/KeyedCollection.cs