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

◆ GetHashCode()

override int System.Runtime.Intrinsics.Vector64< T >.GetHashCode ( )
inline

Definition at line 660 of file Vector64.cs.

661 {
662 ThrowHelper.ThrowForUnsupportedIntrinsicsVectorBaseType<T>();
663 HashCode hashCode = default(HashCode);
664 for (int i = 0; i < Count; i++)
665 {
666 hashCode.Add(this.GetElement(i).GetHashCode());
667 }
668 return hashCode.ToHashCode();
669 }

References System.HashCode.Add(), and System.Runtime.Intrinsics.Vector64< T >.Count.