TSystems.RELOAD.Topology.IceCandidate.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            int hash = 37;
            hash = hash * 23 + addr_port.port.GetHashCode();
            hash = hash * 23 + priority.GetHashCode();
            hash = hash * 23 + cand_type.GetHashCode();
            hash = hash * 23 + tcpType.GetHashCode();
            return hash;
            //return addr_port.port.GetHashCode() ^ priority.GetHashCode() ^ cand_type.GetHashCode() ^ tcpType.GetHashCode();
        }