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

◆ GetHashCode()

override int System.Memory< T >.GetHashCode ( )
inline

Definition at line 278 of file Memory.cs.

279 {
280 if (_object == null)
281 {
282 return 0;
283 }
284 return HashCode.Combine(RuntimeHelpers.GetHashCode(_object), _index, _length);
285 }
readonly int _length
Definition Memory.cs:19
readonly object _object
Definition Memory.cs:15
readonly int _index
Definition Memory.cs:17

References System.Memory< T >._index, System.Memory< T >._length, System.Memory< T >._object, and System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode().