コード例 #1
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.uri)
            {
                hashcode = (hashcode * 397) + Uri.GetHashCode();
            }
            if (__isset.token)
            {
                hashcode = (hashcode * 397) + Token.GetHashCode();
            }
            if (__isset.cookiePath)
            {
                hashcode = (hashcode * 397) + CookiePath.GetHashCode();
            }
            if (__isset.skip)
            {
                hashcode = (hashcode * 397) + Skip.GetHashCode();
            }
        }
        return(hashcode);
    }
コード例 #2
0
#pragma warning disable 1591
        public override int GetHashCode()
        {
            return(CookiePath == null ? 0 : CookiePath.GetHashCode());
        }