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

◆ GetHashCode() [2/2]

int System.Collections.CompatibleComparer.GetHashCode ( object obj)
inline

Implements System.Collections.IEqualityComparer.

Definition at line 49 of file CompatibleComparer.cs.

50 {
51 if (obj == null)
52 {
53 throw new ArgumentNullException("obj");
54 }
55 if (_hcp == null)
56 {
57 return obj.GetHashCode();
58 }
59 return _hcp.GetHashCode(obj);
60 }

References System.Collections.CompatibleComparer._hcp, System.Collections.IHashCodeProvider.GetHashCode(), and System.obj.