Add back IHashCodeProvider/CaseInsensitiveHashCodeProvider to System.Collections...
authorStephen Toub <stoub@microsoft.com>
Tue, 12 Jul 2016 10:25:37 +0000 (06:25 -0400)
committerGitHub <noreply@github.com>
Tue, 12 Jul 2016 10:25:37 +0000 (06:25 -0400)
commit7cacb8057ee36224b6ed9559871bb8b217cef824
treef3aa6aea8432b7814c31e140dffb62c86eccf585
parent7355eae2f5aa1ff6c7c8ae47feab76510867c471
Add back IHashCodeProvider/CaseInsensitiveHashCodeProvider to System.Collections.NonGeneric (dotnet/corefx#9967)

* Add back IHashCodeProvider/CaseInsensitiveHashCodeProvider to System.Collections.NonGeneric

This support is only for compatibility, but even though it's been obsoleted for a long time, it still shows up with a surprisingly high amount of usage.  I've ported them from desktop.

Commit migrated from https://github.com/dotnet/corefx/commit/6c86a907590110638cbfa38b3a2922dca6d6056e
src/libraries/System.Collections.NonGeneric/ref/System.Collections.NonGeneric.cs
src/libraries/System.Collections.NonGeneric/src/Resources/Strings.resx
src/libraries/System.Collections.NonGeneric/src/System.Collections.NonGeneric.csproj
src/libraries/System.Collections.NonGeneric/src/System/Collections/CaseInsensitiveHashCodeProvider.cs [new file with mode: 0644]
src/libraries/System.Collections.NonGeneric/src/System/Collections/CompatibleComparer.cs [new file with mode: 0644]
src/libraries/System.Collections.NonGeneric/src/System/Collections/Hashtable.cs
src/libraries/System.Collections.NonGeneric/src/System/Collections/IHashCodeProvider.cs [new file with mode: 0644]
src/libraries/System.Collections.NonGeneric/tests/CaseInsensitiveHashCodeProviderTests.cs [new file with mode: 0644]
src/libraries/System.Collections.NonGeneric/tests/HashtableTests.cs
src/libraries/System.Collections.NonGeneric/tests/System.Collections.NonGeneric.Tests.csproj