Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetHashCode() [1/4]

override int System.String.GetHashCode ( )
inline

Definition at line 653 of file String.cs.

654 {
655 ulong defaultSeed = Marvin.DefaultSeed;
656 return Marvin.ComputeHash32(ref Unsafe.As<char, byte>(ref _firstChar), (uint)(_stringLength * 2), (uint)defaultSeed, (uint)(defaultSeed >> 32));
657 }
readonly int _stringLength
Definition String.cs:32
char _firstChar
Definition String.cs:35

References System.String._firstChar, System.String._stringLength, System.Marvin.ComputeHash32(), and System.Marvin.DefaultSeed.

Referenced by System.String.GetHashCode().