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

◆ GetHashCode()

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

Definition at line 1114 of file Vector128.cs.

1115 {
1116 ThrowHelper.ThrowForUnsupportedIntrinsicsVectorBaseType<T>();
1117 HashCode hashCode = default(HashCode);
1118 for (int i = 0; i < Count; i++)
1119 {
1120 hashCode.Add(this.GetElement(i).GetHashCode());
1121 }
1122 return hashCode.ToHashCode();
1123 }

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