Unnecessary null check in KeyedCollection<TKey, TItem>.Contains(TKey)
Just found an unnecessary null check in KeyedCollection.Contains(TKey). Appreciate it's only a very small optimization, but shouldn't thought this sort of inefficiency be picked up by an automated code analysis tool? Here's the C# generated by reflector: public bool Contains(TKey key) { if (key == null) { ThrowHelper.ThrowArgumen...