Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Cause != null ? Cause.GetHashCode() : 0) * 397) ^ InstanceId);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Cause != null ? Cause.GetHashCode() : 0) * 397) ^ (TargetLogId != null ? TargetLogId.GetHashCode() : 0));
     }
 }
Exemplo n.º 3
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Cause != null ? Cause.GetHashCode() : 0) * 397) ^ ToSequenceNr.GetHashCode());
     }
 }
Exemplo 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);
     }
 }
Exemplo 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);
     }
 }
Exemplo 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);
        }
Exemplo 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);
     }
 }
Exemplo n.º 9
0
        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);
        }
Exemplo 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);
        }
Exemplo n.º 11
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     return(Message.GetHashCode() + LangElement.Position.FirstOffset.GetHashCode() + FullFileName.GetHashCode()
            + Cause.GetHashCode());
     //+ ProgramPoint.OwningPPGraph.GetHashCode();
 }
Exemplo n.º 12
0
 /// <inheritdoc/>
 public override int GetHashCode() => Cause != null?Cause.GetHashCode() : 0;