Don't early terminate on null for 64bit NR HashCode (dotnet/coreclr#19331)
authorBen Adams <thundercat@illyriad.co.uk>
Sat, 11 Aug 2018 05:44:19 +0000 (06:44 +0100)
committerJan Kotas <jkotas@microsoft.com>
Sat, 11 Aug 2018 05:44:19 +0000 (22:44 -0700)
commit3b02e45e3f037ed2ce335990b6f61e5288662b40
tree40887597e9afc9b439642fb388999282dac08a59
parent05549a6995f94baf969b436d620c33667994b122
Don't early terminate on null for 64bit NR HashCode (dotnet/coreclr#19331)

* Don't early terminate on null for 64bit NR HashCode

* Improved GetNonRandomizedHashCode

* Update message on GetNonRandomizedHashCode

* Consume null terminator rather than special case odd lengths

Commit migrated from https://github.com/dotnet/coreclr/commit/c9ad0e8656df10f3aab4b989a1dc72e548d24176
src/coreclr/src/System.Private.CoreLib/src/System/RtType.cs
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs
src/libraries/System.Private.CoreLib/src/System/String.Comparison.cs