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

            if (eventId_ != null)
            {
                hash ^= EventId.GetHashCode();
            }
            if (source_ != null)
            {
                hash ^= Source.GetHashCode();
            }
            if (correlationId_ != null)
            {
                hash ^= CorrelationId.GetHashCode();
            }
            if (artifact_ != null)
            {
                hash ^= Artifact.GetHashCode();
            }
            if (Occurred != 0L)
            {
                hash ^= Occurred.GetHashCode();
            }
            if (originalContext_ != null)
            {
                hash ^= OriginalContext.GetHashCode();
            }
            return(hash);
        }