Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Cause != null ? Cause.GetHashCode() : 0) * 397) ^ InstanceId);
     }
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Cause != null ? Cause.GetHashCode() : 0) * 397) ^ (TargetLogId != null ? TargetLogId.GetHashCode() : 0));
     }
 }
Esempio n. 3
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Cause != null ? Cause.GetHashCode() : 0) * 397) ^ ToSequenceNr.GetHashCode());
     }
 }
Esempio n. 4
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Metadata.GetHashCode();
         hashCode = (hashCode * 397) ^ (Cause != null ? Cause.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ InstanceId;
         return(hashCode);
     }
 }
Esempio n. 5
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Cause != null ? Cause.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ReplayProgress.GetHashCode();
         hashCode = (hashCode * 397) ^ InstanceId;
         return(hashCode);
     }
 }
Esempio n. 6
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Cause != null ? Cause.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ActorInstanceId;
         hashCode = (hashCode * 397) ^ (Persistent != null ? Persistent.GetHashCode() : 0);
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            var hashCode = Cause.GetHashCode();

            hashCode = (hashCode * 397) ^ Effect.GetHashCode();
            hashCode = (hashCode * 397) ^ HeaderText.GetHashCode();
            hashCode = (hashCode * 397) ^ DescriptionText.GetHashCode();
            hashCode = (hashCode * 397) ^ Url.GetHashCode();

            return(hashCode);
        }
Esempio n. 8
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Cause.GetHashCode();
         hashCode = (hashCode * 397) ^ CorrelationId;
         hashCode = (hashCode * 397) ^ InstanceId;
         foreach (var durableEvent in Events)
         {
             hashCode = (hashCode * 397) ^ durableEvent.GetHashCode();
         }
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (child_ != null)
            {
                hash ^= Child.GetHashCode();
            }
            if (cause_ != null)
            {
                hash ^= Cause.GetHashCode();
            }
            if (Uid != 0UL)
            {
                hash ^= Uid.GetHashCode();
            }
            return(hash);
        }
Esempio n. 10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Category.Length != 0)
            {
                hash ^= Category.GetHashCode();
            }
            if (Code.Length != 0)
            {
                hash ^= Code.GetHashCode();
            }
            if (CorrelationId.Length != 0)
            {
                hash ^= CorrelationId.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (Message.Length != 0)
            {
                hash ^= Message.GetHashCode();
            }
            if (Cause.Length != 0)
            {
                hash ^= Cause.GetHashCode();
            }
            if (StackTrace.Length != 0)
            {
                hash ^= StackTrace.GetHashCode();
            }
            hash ^= Details.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 11
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     return(Message.GetHashCode() + LangElement.Position.FirstOffset.GetHashCode() + FullFileName.GetHashCode()
            + Cause.GetHashCode());
     //+ ProgramPoint.OwningPPGraph.GetHashCode();
 }
Esempio n. 12
0
 /// <inheritdoc/>
 public override int GetHashCode() => Cause != null?Cause.GetHashCode() : 0;