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

◆ GetHashCode()

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

Definition at line 1106 of file Vector256.cs.

1107 {
1108 ThrowHelper.ThrowForUnsupportedIntrinsicsVectorBaseType<T>();
1109 HashCode hashCode = default(HashCode);
1110 for (int i = 0; i < Count; i++)
1111 {
1112 hashCode.Add(this.GetElement(i).GetHashCode());
1113 }
1114 return hashCode.ToHashCode();
1115 }

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