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