Handle non-ASCII strings in GetNonRandomizedHashCodeOrdinalIgnoreCase (#44688)
authorEgor Bogatov <egorbo@gmail.com>
Sat, 21 Nov 2020 23:01:32 +0000 (02:01 +0300)
committerGitHub <noreply@github.com>
Sat, 21 Nov 2020 23:01:32 +0000 (15:01 -0800)
commiteb5df0da7a93212df9b03d350af7a9cdfdb2c975
tree75a5dcbfd1679d480e68135951e755e20812e514
parent8a3dc167afa7579218b16b1ca38fcb3bb98c72f8
Handle non-ASCII strings in GetNonRandomizedHashCodeOrdinalIgnoreCase (#44688)

* Fix GetNonRandomizedHashCodeOrdinalIgnoreCase

* Add a test

Co-authored-by: Levi Broderick <levib@microsoft.com>
src/libraries/System.Collections/tests/Generic/Dictionary/Dictionary.Tests.cs
src/libraries/System.Collections/tests/Generic/Dictionary/HashCollisionScenarios/OutOfBoundsRegression.cs
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/RandomizedStringEqualityComparer.cs
src/libraries/System.Private.CoreLib/src/System/String.Comparison.cs