Beispiel #1
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (Filename != null)
         {
             hashCode = hashCode * 59 + Filename.GetHashCode();
         }
         if (Documentbody != null)
         {
             hashCode = hashCode * 59 + Documentbody.GetHashCode();
         }
         if (Subject != null)
         {
             hashCode = hashCode * 59 + Subject.GetHashCode();
         }
         if (ObjectidCatGtmattachmentsodataBind != null)
         {
             hashCode = hashCode * 59 + ObjectidCatGtmattachmentsodataBind.GetHashCode();
         }
         return(hashCode);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Filename != null ? Filename.GetHashCode() : 0) ^ (Additions != null ? Additions.GetHashCode() : 0) ^ (Deletions != null ? Deletions.GetHashCode() : 0) ^ (Changes != null ? Changes.GetHashCode() : 0) ^ (Status != null ? Status.GetHashCode() : 0) ^ (RawUrl != null ? RawUrl.GetHashCode() : 0) ^ (BlobUrl != null ? BlobUrl.GetHashCode() : 0) ^ (Patch != null ? Patch.GetHashCode() : 0) ^ (ContentsUrl != null ? ContentsUrl.GetHashCode() : 0));
     }
 }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hashCode = 41;
         if (Name != null)
         {
             hashCode = hashCode * 59 + Name.GetHashCode();
         }
         if (Filename != null)
         {
             hashCode = hashCode * 59 + Filename.GetHashCode();
         }
         if (Id != null)
         {
             hashCode = hashCode * 59 + Id.GetHashCode();
         }
         if (Block != null)
         {
             hashCode = hashCode * 59 + Block.GetHashCode();
         }
         if (Source != null)
         {
             hashCode = hashCode * 59 + Source.GetHashCode();
         }
         if (SourceEdited != null)
         {
             hashCode = hashCode * 59 + SourceEdited.GetHashCode();
         }
         return(hashCode);
     }
 }
Beispiel #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Size != null ? Size.GetHashCode() : 0) ^ (Filename != null ? Filename.GetHashCode() : 0) ^ (RawUrl != null ? RawUrl.GetHashCode() : 0) ^ (Content != null ? Content.GetHashCode() : 0) ^ (Type != null ? Type.GetHashCode() : 0) ^ (Language != null ? Language.GetHashCode() : 0));
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Filename.Length != 0)
            {
                hash ^= Filename.GetHashCode();
            }
            if (LastWriteUTCTicks != 0L)
            {
                hash ^= LastWriteUTCTicks.GetHashCode();
            }
            if (StorageTier != 0)
            {
                hash ^= StorageTier.GetHashCode();
            }
            if (Md5.Length != 0)
            {
                hash ^= Md5.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #6
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Volume;
         hashCode = (hashCode * 397) ^ Pitch;
         return(hashCode);
     }
 }
Beispiel #7
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsHardcore.GetHashCode();
         hashCode = (hashCode * 397) ^ (Mod != null ? Mod.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsExpansion1.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #8
0
 /// <summary>
 /// The HashCode for the FileAttachment.
 /// </summary>
 /// <returns>Returns the HashCode for the FileAttachment.</returns>
 /// <remarks>E.g. necessary for HashSet&lt;FileAttachment&gt;.</remarks>
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (DisplayName != null ? DisplayName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (MimeType != null ? MimeType.GetHashCode() : 0);
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = (int)2166136261;
         hash = (hash * 16777619) ^ Total.GetHashCode();
         hash = (hash * 16777619) ^ (Filename != null ? Filename.GetHashCode() : 0);
         return((hash * 16777619) ^ (Coverage != null ? Coverage.GetHashCode() : 0));
     }
 }
Beispiel #10
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Translation != null ? Translation.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)Rotation;
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)Flags;
         hashCode = (hashCode * 397) ^ (int)Type;
         return(hashCode);
     }
 }
Beispiel #12
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = Filename != null?Filename.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ (Size != null ? Size.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Link != null ? Link.GetHashCode() : 0);
                return(hashCode);
            }
        }
Beispiel #13
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = (int)2166136261;
         hash = (hash * 16777619) ^ Source.GetHashCode();
         hash = (hash * 16777619) ^ Filename.GetHashCode();
         hash = (hash * 16777619) ^ UpToDate.GetHashCode();
         return(hash);
     }
 }
Beispiel #14
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id;
         hashCode = (hashCode * 397) ^ (Extension != null ? Extension.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Path != null ? Path.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FullName != null ? FullName.GetHashCode() : 0);
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ProjectNumber;
         hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Line;
         hashCode = (hashCode * 397) ^ Column;
         hashCode = (hashCode * 397) ^ (Text != null ? Text.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ErrorType.GetHashCode();
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Source != global::Budget.Data.Events.UploadSpreadsheetEvent.Types.SpreadsheetSource.UNKNOWN)
            {
                hash ^= Source.GetHashCode();
            }
            if (Filename.Length != 0)
            {
                hash ^= Filename.GetHashCode();
            }
            hash ^= rows_.GetHashCode();
            return(hash);
        }
Beispiel #17
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = CreatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ UpdatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ (DownloadLink != null ? DownloadLink.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FileId != null ? FileId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Hash != null ? Hash.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (MimeType != null ? MimeType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Size != null ? Size.Value : 0);
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (FullPath != null ? FullPath.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Extension != null ? Extension.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FormatName != null ? FormatName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BitRate != null ? BitRate.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ FileSize.GetHashCode();
         hashCode = (hashCode * 397) ^ DurationInSecs.GetHashCode();
         hashCode = (hashCode * 397) ^ VideoStream.GetHashCode();
         hashCode = (hashCode * 397) ^ AudioStream.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #19
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (Id != null ? Id.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ VersionCounter.GetHashCode();
         hashCode = (hashCode * 397) ^ Created.GetHashCode();
         hashCode = (hashCode * 397) ^ LastUpdated.GetHashCode();
         hashCode = (hashCode * 397) ^ (CreatedBy != null ? CreatedBy.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ContentType != null ? ContentType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Url != null ? Url.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Size.GetHashCode();
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hashCode = 868250934;

            if (Filename != null)
            {
                hashCode += Filename.GetHashCode();
            }

            if (Filetype != null)
            {
                hashCode += Filetype.GetHashCode();
            }

            return(hashCode);
        }
Beispiel #21
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = _logger.GetHashCode();
         hashCode = (hashCode * 397) ^ StagingPercentage.GetHashCode();
         hashCode = (hashCode * 397) ^ (Tag != null ? Tag.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ SHA256.GetHashCode();
         hashCode = (hashCode * 397) ^ Filename.GetHashCode();
         hashCode = (hashCode * 397) ^ Filesize.GetHashCode();
         hashCode = (hashCode * 397) ^ IsDelta.GetHashCode();
         hashCode = (hashCode * 397) ^ Version.GetHashCode();
         hashCode = (hashCode * 397) ^ (OldVersion != null ? OldVersion.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ FileLocation.GetHashCode();
         return(hashCode);
     }
 }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (Filename != null)
         {
             hashCode = hashCode * 59 + Filename.GetHashCode();
         }
         if (Data != null)
         {
             hashCode = hashCode * 59 + Data.GetHashCode();
         }
         return(hashCode);
     }
 }
Beispiel #23
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= logs_.GetHashCode();
            if (ContextFlow.Length != 0)
            {
                hash ^= ContextFlow.GetHashCode();
            }
            if (Filename.Length != 0)
            {
                hash ^= Filename.GetHashCode();
            }
            if (Source.Length != 0)
            {
                hash ^= Source.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        /// <inheritdoc/>
        public override int GetHashCode()
        {
            // Overflow is fine, just wrap.
            unchecked
            {
                int hash = 17;

                hash *= 23 + ApplicationName.GetHashCode();
                hash *= 23 + ApplicationSystemId.GetHashCode();
                hash *= 23 + ApplicationVersion.GetHashCode();
                hash *= 23 + ContentDescription.GetHashCode();
                hash *= 23 + Copyright.GetHashCode();
                hash *= 23 + Corporation.GetHashCode();
                hash *= 23 + CorporationAddress.GetHashCode();
                hash *= 23 + Filename.GetHashCode();
                hash *= 23 + Language.GetHashCode();
                hash *= 23 + SourceCopyright.GetHashCode();
                hash *= 23 + SourceDate.GetHashCode();
                hash *= 23 + SourceName.GetHashCode();
                hash *= 23 + TransmissionDate.GetHashCode();

                return(hash);
            }
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Level != 0)
            {
                hash ^= Level.GetHashCode();
            }
            if (Seconds != 0L)
            {
                hash ^= Seconds.GetHashCode();
            }
            hash ^= imgs_.GetHashCode();
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (Hostaddress.Length != 0)
            {
                hash ^= Hostaddress.GetHashCode();
            }
            if (Hostport != 0)
            {
                hash ^= Hostport.GetHashCode();
            }
            if (Filename.Length != 0)
            {
                hash ^= Filename.GetHashCode();
            }
            hash ^= annoImgs_.GetHashCode();
            return(hash);
        }
Beispiel #26
0
 public override int GetHashCode()
 {
     return(Filename.GetHashCode());
 }
Beispiel #27
0
 public override int GetHashCode()
 {
     return(Filename.GetHashCode() ^ Message.GetHashCode() ^ Text.GetHashCode() ^ (StartIndex).GetHashCode());
 }
Beispiel #28
0
 public override int GetHashCode()
 {
     return(Filename?.GetHashCode() ?? 0);
 }
Beispiel #29
0
 public override int GetHashCode() => LineNumber.GetHashCode() +
 Filename.GetHashCode() +
 SourceString.GetHashCode();
 public override int GetHashCode()
 {
     return(Filename != null ? Filename.GetHashCode() : 0);
 }