protected override int GetHashCodeCore() { unchecked { return(SourceId.GetHashCode()); } }
public override int GetHashCode() { int hash = 1; if (SourceId.Length != 0) { hash ^= SourceId.GetHashCode(); } if (FileName.Length != 0) { hash ^= FileName.GetHashCode(); } if (Content.Length != 0) { hash ^= Content.GetHashCode(); } if (OwnerId.Length != 0) { hash ^= OwnerId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { const int randomPrime = 397; int hashCode = Id.GetHashCode(); hashCode = (hashCode * randomPrime) ^ SourceTypeID.GetHashCode(); hashCode = (hashCode * randomPrime) ^ SourceId.GetHashCode(); hashCode = (hashCode * randomPrime) ^ (Name_Latin != null ? Name_Latin.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (FamilyName_Latin != null ? FamilyName_Latin.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (Name_Cyrillic != null ? Name_Cyrillic.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (FamilyName_Cyrillic != null ? FamilyName_Cyrillic.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (Sex != null ? Sex.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (FatherName != null ? FatherName.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (DateOfBirth != null ? DateOfBirth.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (Citizenship != null ? Citizenship.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (PlaceOfBirthId != null ? PlaceOfBirthId.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (PlaceOfEmigrationId != null ? PlaceOfEmigrationId.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (PlaceOfLivingId != null ? PlaceOfLivingId.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (FatherId != null ? FatherId.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (MotherId != null ? MotherId.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (MaritalStatus != null ? MaritalStatus.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (PartnerId != null ? PartnerId.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (Profession != null ? Profession.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (Notice != null ? Notice.GetHashCode() : 0); hashCode = (hashCode * randomPrime) ^ (PhotoNumber != null ? PhotoNumber.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { return(((SourceId != null ? SourceId.GetHashCode() : 0) * 397) ^ (ImageId != null ? ImageId.GetHashCode() : 0)); } }
public override int GetHashCode() { int result = SourceId.GetHashCode(); result = 31 * result + DestinationId.GetHashCode(); result = 31 * result + Description.GetHashCode(); return(result); }
/// <summary> /// Gets an XOR based hash code based on the contents of this object. /// </summary> public override int GetHashCode() { return(base.GetHashCode() ^ SourceId.GetHashCode() ^ (SourceAssemblyName != null ? SourceAssemblyName.GetHashCode() : 0) ^ EventDate.GetHashCode() ^ (Message != null ? Message.GetHashCode() : 0) ^ (ErrorTypeFullName != null ? ErrorTypeFullName.GetHashCode() : 0) ^ (StackTrace != null ? StackTrace.GetHashCode() : 0)); }
public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (SourceId.GetHashCode()); hashCode = (hashCode * 397) ^ (CommandText.GetHashCode()); return(hashCode); } }
public override int GetHashCode() { int result = 17; result = 31 * result + SourceId.GetHashCode(); result = 31 * result + Line.GetHashCode(); result = 31 * result + Column.GetHashCode(); result = 31 * result + Offset.GetHashCode(); result = 31 * result + Length.GetHashCode(); return(result); }
public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ SourceId.GetHashCode(); if (ProcedureName != null) { hashCode = (hashCode * 397) ^ ProcedureName.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (SourceId.GetHashCode()); if (ExecuteActionString != null) { hashCode = (hashCode * 397) ^ (ExecuteActionString.GetHashCode()); } return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (SourceId.GetHashCode()); if (SqlQuery != null) { hashCode = (hashCode * 397) ^ (SqlQuery.GetHashCode()); } return(hashCode); } }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. /// </returns> public override int GetHashCode( ) { unchecked { int hash = 17; hash = hash * 92821 + TypeId.GetHashCode( ); hash = hash * 92821 + SourceId.GetHashCode( ); return(hash); } }
public override int GetHashCode() { int hash = 1; if (SourceId.Length != 0) { hash ^= SourceId.GetHashCode(); } hash ^= backstitches_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
#pragma warning disable S1541 // Methods and properties should not be too complex public override int GetHashCode() #pragma warning restore S1541 // Methods and properties should not be too complex { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (Result != null ? Result.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DisplayName != null ? DisplayName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ SourceId.GetHashCode(); hashCode = (hashCode * 397) ^ (Key != null ? Key.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Response != null ? Response.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Connection != null ? Connection.GetHashCode() : 0); return(hashCode); } }
/// <summary> /// Gets an XOR based hash code based on the contents of this object. /// </summary> public override int GetHashCode() { return(base.GetHashCode() ^ SourceId.GetHashCode() ^ #if !NETSTANDARD2_0 (SourceAssemblyName?.GetHashCode(StringComparison.OrdinalIgnoreCase) ?? 0) ^ EventDate.GetHashCode() ^ (Message != null ? Message.GetHashCode(StringComparison.OrdinalIgnoreCase) : 0) ^ (ErrorTypeFullName?.GetHashCode(StringComparison.OrdinalIgnoreCase) ?? 0) ^ (StackTrace?.GetHashCode(StringComparison.OrdinalIgnoreCase) ?? 0)); #else (SourceAssemblyName?.GetHashCode() ?? 0) ^ EventDate.GetHashCode() ^ (Message != null ? Message.GetHashCode() : 0) ^ (ErrorTypeFullName?.GetHashCode() ?? 0) ^ (StackTrace?.GetHashCode() ?? 0); #endif }
public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (SourceId.GetHashCode()); if (ProcedureName != null) { hashCode = (hashCode * 397) ^ (ProcedureName.GetHashCode()); } if (CommandTimeout != null) { hashCode = (hashCode * 397) ^ CommandTimeout.Value; } if (ExecuteActionString != null) { hashCode = (hashCode * 397) ^ (ExecuteActionString.GetHashCode()); } return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (AppId.Length != 0) { hash ^= AppId.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Namespace.Length != 0) { hash ^= Namespace.GetHashCode(); } if (Revision != 0UL) { hash ^= Revision.GetHashCode(); } if (SourceId.Length != 0) { hash ^= SourceId.GetHashCode(); } hash ^= Jobs.GetHashCode(); if (createdAt_ != null) { hash ^= CreatedAt.GetHashCode(); } if (CreatedBy.Length != 0) { hash ^= CreatedBy.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (SourceId.Length != 0) { hash ^= SourceId.GetHashCode(); } if (pattern_ != null) { hash ^= Pattern.GetHashCode(); } if (OwnerId.Length != 0) { hash ^= OwnerId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (SourceId.Length != 0) { hash ^= SourceId.GetHashCode(); } if (DestinationId.Length != 0) { hash ^= DestinationId.GetHashCode(); } if (DrillerCount != 0) { hash ^= DrillerCount.GetHashCode(); } hash ^= specialistIds_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() => SourceId?.GetHashCode() ?? 0;
public override int GetHashCode() => SourceId.GetHashCode();
public override int GetHashCode() { return((SourceId.GetHashCode() + TargetId.GetHashCode()) / 2); }
public override int GetHashCode() { int hashCode = -519761043; if (SourceId != null) { hashCode += SourceId.GetHashCode(); } if (IdempotencyKey != null) { hashCode += IdempotencyKey.GetHashCode(); } if (AmountMoney != null) { hashCode += AmountMoney.GetHashCode(); } if (TipMoney != null) { hashCode += TipMoney.GetHashCode(); } if (AppFeeMoney != null) { hashCode += AppFeeMoney.GetHashCode(); } if (DelayDuration != null) { hashCode += DelayDuration.GetHashCode(); } if (Autocomplete != null) { hashCode += Autocomplete.GetHashCode(); } if (OrderId != null) { hashCode += OrderId.GetHashCode(); } if (CustomerId != null) { hashCode += CustomerId.GetHashCode(); } if (LocationId != null) { hashCode += LocationId.GetHashCode(); } if (ReferenceId != null) { hashCode += ReferenceId.GetHashCode(); } if (VerificationToken != null) { hashCode += VerificationToken.GetHashCode(); } if (AcceptPartialAuthorization != null) { hashCode += AcceptPartialAuthorization.GetHashCode(); } if (BuyerEmailAddress != null) { hashCode += BuyerEmailAddress.GetHashCode(); } if (BillingAddress != null) { hashCode += BillingAddress.GetHashCode(); } if (ShippingAddress != null) { hashCode += ShippingAddress.GetHashCode(); } if (Note != null) { hashCode += Note.GetHashCode(); } if (StatementDescriptionIdentifier != null) { hashCode += StatementDescriptionIdentifier.GetHashCode(); } return(hashCode); }