예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FrameNumber != 0)
            {
                hash ^= FrameNumber.GetHashCode();
            }
            hash ^= msgs_.GetHashCode();
            return(hash);
        }
예제 #2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Error != 0)
        {
            hash ^= Error.GetHashCode();
        }
        if (FrameNumber != 0)
        {
            hash ^= FrameNumber.GetHashCode();
        }
        hash ^= battleFrame_.GetHashCode();
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= frameMetricRanges_.GetHashCode();
            hash ^= onDemandMetrics_.GetHashCode();
            if (FrameNumber != 0L)
            {
                hash ^= FrameNumber.GetHashCode();
            }
            if (RealTimeSeconds != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RealTimeSeconds);
            }
            if (Label.Length != 0)
            {
                hash ^= Label.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }