diff options
author | Ben Adams <thundercat@illyriad.co.uk> | 2018-08-11 06:44:19 +0100 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-08-10 22:44:19 -0700 |
commit | c9ad0e8656df10f3aab4b989a1dc72e548d24176 (patch) | |
tree | 08f4d1afe7046bd22065dbc32c514b99eea2d444 /src/System.Private.CoreLib/src/System/RtType.cs | |
parent | 2c9d4e3be809f11750c6bd1a7c68837f1f3bf343 (diff) | |
download | coreclr-c9ad0e8656df10f3aab4b989a1dc72e548d24176.tar.gz coreclr-c9ad0e8656df10f3aab4b989a1dc72e548d24176.tar.bz2 coreclr-c9ad0e8656df10f3aab4b989a1dc72e548d24176.zip |
Don't early terminate on null for 64bit NR HashCode (#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
Diffstat (limited to 'src/System.Private.CoreLib/src/System/RtType.cs')
-rw-r--r-- | src/System.Private.CoreLib/src/System/RtType.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/src/System/RtType.cs b/src/System.Private.CoreLib/src/System/RtType.cs index 62e0b2b80c..eccb9a7333 100644 --- a/src/System.Private.CoreLib/src/System/RtType.cs +++ b/src/System.Private.CoreLib/src/System/RtType.cs @@ -5100,7 +5100,7 @@ namespace System.Reflection } else { - return sKey.GetLegacyNonRandomizedHashCode(); + return sKey.GetNonRandomizedHashCode(); } } |