Change CWT use of GetPrimaryAndSecondary to GetPrimary
authorStephen Toub <stoub@microsoft.com>
Fri, 9 Dec 2016 21:09:26 +0000 (16:09 -0500)
committerStephen Toub <stoub@microsoft.com>
Fri, 9 Dec 2016 21:09:26 +0000 (16:09 -0500)
commit57cd7985769f750f5994739787ac5c838eb8bf1c
tree46950b00e0e11d40cc3515f54d9c044690ef1f0a
parenta9b1102845ad18ed46c61948d9c17bc8443b7af3
Change CWT use of GetPrimaryAndSecondary to GetPrimary

This snuck in as part of my previous ConditionalWeakTable changes.  We don't need the secondary here, and it's more expensive to get than just the primary.

Commit migrated from https://github.com/dotnet/coreclr/commit/4a5647ee5c5e04484c7211bcac7249d35e290977
src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/ConditionalWeakTable.cs