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 hash = 1;

                    if (PayloadType != 0)
                    {
                        hash ^= PayloadType.GetHashCode();
                    }
                    if (EngineName.Length != 0)
                    {
                        hash ^= EngineName.GetHashCode();
                    }
                    if (Payload.Length != 0)
                    {
                        hash ^= Payload.GetHashCode();
                    }
                    return(hash);
                }
Example #3
0
 public override int GetHashCode()
 {
     return(EngineName.GetHashCode());
 }