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

        if (senderAddress_ != null)
        {
            hash ^= SenderAddress.GetHashCode();
        }
        if (CurrentIndex != 0L)
        {
            hash ^= CurrentIndex.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
コード例 #2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (senderAddress_ != null)
        {
            hash ^= SenderAddress.GetHashCode();
        }
        if (Xml.Length != 0)
        {
            hash ^= Xml.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }