Exemplo n.º 1
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (HasPayloadType)
        {
            hash ^= PayloadType.GetHashCode();
        }
        if (HasErrorCode)
        {
            hash ^= ErrorCode.GetHashCode();
        }
        if (HasDescription)
        {
            hash ^= Description.GetHashCode();
        }
        if (HasMaintenanceEndTimestamp)
        {
            hash ^= MaintenanceEndTimestamp.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FrameId != 0L)
            {
                hash ^= FrameId.GetHashCode();
            }
            if (PayloadType != 0)
            {
                hash ^= PayloadType.GetHashCode();
            }
            if (EngineName.Length != 0)
            {
                hash ^= EngineName.GetHashCode();
            }
            if (Payload.Length != 0)
            {
                hash ^= Payload.GetHashCode();
            }
            if (engineFields_ != null)
            {
                hash ^= EngineFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int result = 1;

            result = result * 13 + PayloadType.GetHashCode();
            result = result * 13 + DurationMilliseconds.GetHashCode();

            return(result);
        }
Exemplo n.º 4
0
 public override int GetHashCode()
 {
     var result = MimeType.GetHashCode() ^ PayloadType.GetHashCode() ^ ClockRate.GetHashCode();
     if (Parameters != null)
     {
         result = Parameters.DeepGetHashCode() ^ result;
     }
     return result;
 }
Exemplo n.º 5
0
        public override int GetHashCode()
        {
            int result = 1;

            result = result * 13 + PayloadType.GetHashCode();
            result = result * 13 + NExecutionCycles.GetHashCode();
            result = result * 13 + LastExecutionTime.GetHashCode();
            result = result * 13 + AvgExecutionTime.GetHashCode();
            result = result * 13 + FastestExecutionTime.GetHashCode();
            result = result * 13 + LongestExecutionTime.GetHashCode();
            result = result * 13 + TotalExecutionTime.GetHashCode();

            return(result);
        }
Exemplo n.º 6
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (HasPayloadType)
        {
            hash ^= PayloadType.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Exemplo n.º 7
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (PayloadType != 0)
                    {
                        hash ^= PayloadType.GetHashCode();
                    }
                    if (EngineName.Length != 0)
                    {
                        hash ^= EngineName.GetHashCode();
                    }
                    if (Payload.Length != 0)
                    {
                        hash ^= Payload.GetHashCode();
                    }
                    return(hash);
                }
Exemplo n.º 8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Payload.Length != 0)
            {
                hash ^= Payload.GetHashCode();
            }
            if (PayloadType.Length != 0)
            {
                hash ^= PayloadType.GetHashCode();
            }
            hash ^= signatures_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 9
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hash = 27;

                hash = (hash * 17) + (Category?.GetHashCode() ?? 0);
                hash = (hash * 17) + CheckpointNumber.GetHashCode();
                hash = (hash * 17) + (CommitId?.GetHashCode() ?? 0);
                hash = (hash * 17) + DateTime.GetHashCode();
                hash = (hash * 17) + (Group?.GetHashCode() ?? 0);
                hash = (hash * 17) + (Headers?.GetHashCode() ?? 0);
                hash = (hash * 17) + (MessageId?.GetHashCode() ?? 0);
                hash = (hash * 17) + (Payload?.GetHashCode() ?? 0);
                hash = (hash * 17) + (PayloadType?.GetHashCode() ?? 0);
                hash = (hash * 17) + (StreamName?.GetHashCode() ?? 0);
                hash = (hash * 17) + StreamRevision.GetHashCode();

                return(hash);
            }
        }