Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (RewardBonusLocKey.Length != 0)
            {
                hash ^= RewardBonusLocKey.GetHashCode();
            }
            if (RewardBonusIcon.Length != 0)
            {
                hash ^= RewardBonusIcon.GetHashCode();
            }
            if (StatusIcon.Length != 0)
            {
                hash ^= StatusIcon.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            hash ^= conditionalModifiers_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.buddyId)
            {
                hashcode = (hashcode * 397) + BuddyId.GetHashCode();
            }
            if (__isset.mid)
            {
                hashcode = (hashcode * 397) + Mid.GetHashCode();
            }
            if (__isset.searchId)
            {
                hashcode = (hashcode * 397) + SearchId.GetHashCode();
            }
            if (__isset.displayName)
            {
                hashcode = (hashcode * 397) + DisplayName.GetHashCode();
            }
            if (__isset.statusMessage)
            {
                hashcode = (hashcode * 397) + StatusMessage.GetHashCode();
            }
            if (__isset.contactCount)
            {
                hashcode = (hashcode * 397) + ContactCount.GetHashCode();
            }
        }
        return(hashcode);
    }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (placement_ != null)
            {
                hash ^= Placement.GetHashCode();
            }
            if (displayName_ != null)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (groupPlacementTargetUrl_ != null)
            {
                hash ^= GroupPlacementTargetUrl.GetHashCode();
            }
            if (targetUrl_ != null)
            {
                hash ^= TargetUrl.GetHashCode();
            }
            if (PlacementType != global::Google.Ads.GoogleAds.V4.Enums.PlacementTypeEnum.Types.PlacementType.Unspecified)
            {
                hash ^= PlacementType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid.Length != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Email.Length != 0)
            {
                hash ^= Email.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (PhotoURL.Length != 0)
            {
                hash ^= PhotoURL.GetHashCode();
            }
            if (ProviderId.Length != 0)
            {
                hash ^= ProviderId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (State != global::Google.Cloud.AIPlatform.V1.Execution.Types.State.Unspecified)
            {
                hash ^= State.GetHashCode();
            }
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 6
0
 public override int GetHashCode()
 {
     return(DisplayName.GetHashCode()
            & DisplayVersion.GetHashCode()
            & UninstallString.to_string().GetHashCode()
            & KeyPath.GetHashCode());
 }
Ejemplo n.º 7
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (ParentName.Length != 0)
            {
                hash ^= ParentName.GetHashCode();
            }
            if (Filter.Length != 0)
            {
                hash ^= Filter.GetHashCode();
            }
            if (IsCluster != false)
            {
                hash ^= IsCluster.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 8
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 (Class != null)
                {
                    hashCode = hashCode * 59 + Class.GetHashCode();
                }
                if (DisplayName != null)
                {
                    hashCode = hashCode * 59 + DisplayName.GetHashCode();
                }
                if (FullName != null)
                {
                    hashCode = hashCode * 59 + FullName.GetHashCode();
                }
                if (Name != null)
                {
                    hashCode = hashCode * 59 + Name.GetHashCode();
                }
                if (Organization != null)
                {
                    hashCode = hashCode * 59 + Organization.GetHashCode();
                }

                hashCode = hashCode * 59 + NumberOfFolders.GetHashCode();

                hashCode = hashCode * 59 + NumberOfPipelines.GetHashCode();
                return(hashCode);
            }
        }
Ejemplo n.º 9
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.mid)
            {
                hashcode = (hashcode * 397) + Mid.GetHashCode();
            }
            if (__isset.displayName)
            {
                hashcode = (hashcode * 397) + DisplayName.GetHashCode();
            }
            if (__isset.pictureStatus)
            {
                hashcode = (hashcode * 397) + PictureStatus.GetHashCode();
            }
            if (__isset.picturePath)
            {
                hashcode = (hashcode * 397) + PicturePath.GetHashCode();
            }
            if (__isset.statusMessage)
            {
                hashcode = (hashcode * 397) + StatusMessage.GetHashCode();
            }
        }
        return(hashcode);
    }
Ejemplo n.º 10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Index != 0)
            {
                hash ^= Index.GetHashCode();
            }
            if (Kind != global::Google.Cloud.Spanner.V1.PlanNode.Types.Kind.Unspecified)
            {
                hash ^= Kind.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            hash ^= childLinks_.GetHashCode();
            if (shortRepresentation_ != null)
            {
                hash ^= ShortRepresentation.GetHashCode();
            }
            if (metadata_ != null)
            {
                hash ^= Metadata.GetHashCode();
            }
            if (executionStats_ != null)
            {
                hash ^= ExecutionStats.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 11
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Type.Length != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= labels_.GetHashCode();
            hash ^= supportedTiers_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 12
0
#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) ^ (_messages != null ? _messages.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Result != null ? Result.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ _timeOut;
                hashCode = (hashCode * 397) ^ IsObject.GetHashCode();
                hashCode = (hashCode * 397) ^ (ObjectName != null ? ObjectName.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (DisplayName != null ? DisplayName.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ RabbitMQSourceResourceId.GetHashCode();
                hashCode = (hashCode * 397) ^ (QueueName != null ? QueueName.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Response != null ? Response.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Prefetch != null ? Prefetch.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ Acknowledge.GetHashCode();
                hashCode = (hashCode * 397) ^ (TimeOut != null ? TimeOut.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ ReQueue.GetHashCode();
                hashCode = (hashCode * 397) ^ (Consumer != null ? Consumer.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Connection != null ? Connection.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Channel != null ? Channel.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (RabbitSource != null ? RabbitSource.GetHashCode() : 0);
                return(hashCode);
            }
        }
Ejemplo n.º 13
0
 public override int GetHashCode()
 {
     return
         (string.IsNullOrEmpty(DisplayName)
        ? string.Empty.GetHashCode()
        : DisplayName.GetHashCode());
 }
Ejemplo n.º 14
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (LocationId.Length != 0)
            {
                hash ^= LocationId.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (metadata_ != null)
            {
                hash ^= Metadata.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 15
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 (Class != null)
                {
                    hashCode = hashCode * 59 + Class.GetHashCode();
                }
                if (DisplayName != null)
                {
                    hashCode = hashCode * 59 + DisplayName.GetHashCode();
                }

                hashCode = hashCode * 59 + DurationInMillis.GetHashCode();
                if (Id != null)
                {
                    hashCode = hashCode * 59 + Id.GetHashCode();
                }
                if (Result != null)
                {
                    hashCode = hashCode * 59 + Result.GetHashCode();
                }
                if (StartTime != null)
                {
                    hashCode = hashCode * 59 + StartTime.GetHashCode();
                }
                return(hashCode);
            }
        }
Ejemplo n.º 16
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (timeSegmentStart_ != null)
            {
                hash ^= TimeSegmentStart.GetHashCode();
            }
            if (timeSegmentEnd_ != null)
            {
                hash ^= TimeSegmentEnd.GetHashCode();
            }
            if (confidence_ != null)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableSingleEqualityComparer.GetHashCode(Confidence);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 17
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Index != 0)
            {
                hash ^= Index.GetHashCode();
            }
            if (Kind != 0)
            {
                hash ^= Kind.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            hash ^= childLinks_.GetHashCode();
            if (shortRepresentation_ != null)
            {
                hash ^= ShortRepresentation.GetHashCode();
            }
            if (metadata_ != null)
            {
                hash ^= Metadata.GetHashCode();
            }
            if (executionStats_ != null)
            {
                hash ^= ExecutionStats.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 18
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasCountryCode)
            {
                hash ^= CountryCode.GetHashCode();
            }
            if (HasLanguageCode)
            {
                hash ^= LanguageCode.GetHashCode();
            }
            if (HasDisplayName)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 19
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Type.Length != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= labels_.GetHashCode();
            hash ^= supportedTiers_.GetHashCode();
            if (LaunchStage != global::Google.Api.LaunchStage.Unspecified)
            {
                hash ^= LaunchStage.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 20
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (deleteTime_ != null)
            {
                hash ^= DeleteTime.GetHashCode();
            }
            if (currentOperation_ != null)
            {
                hash ^= CurrentOperation.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (ServeNodes != 0)
            {
                hash ^= ServeNodes.GetHashCode();
            }
            if (DefaultStorageType != global::Google.Bigtable.Admin.Cluster.V1.StorageType.STORAGE_UNSPECIFIED)
            {
                hash ^= DefaultStorageType.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 21
0
        /// <include file='doc\ToolboxItem.uex' path='docs/doc[@for="ToolboxItem.GetHashCode"]/*' />
        /// <internalonly/>
        public override int GetHashCode()
        {
            string typeName = TypeName;
            int    hash     = (typeName != null) ? typeName.GetHashCode() : 0;

            return(unchecked (hash ^ DisplayName.GetHashCode()));
        }
Ejemplo n.º 22
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 (Class != null)
         {
             hashCode = hashCode * 59 + Class.GetHashCode();
         }
         if (BusyExecutors != null)
         {
             hashCode = hashCode * 59 + BusyExecutors.GetHashCode();
         }
         if (Computer != null)
         {
             hashCode = hashCode * 59 + Computer.GetHashCode();
         }
         if (DisplayName != null)
         {
             hashCode = hashCode * 59 + DisplayName.GetHashCode();
         }
         if (TotalExecutors != null)
         {
             hashCode = hashCode * 59 + TotalExecutors.GetHashCode();
         }
         return(hashCode);
     }
 }
Ejemplo n.º 23
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (placement_ != null)
            {
                hash ^= Placement.GetHashCode();
            }
            if (displayName_ != null)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (groupPlacementTargetUrl_ != null)
            {
                hash ^= GroupPlacementTargetUrl.GetHashCode();
            }
            if (targetUrl_ != null)
            {
                hash ^= TargetUrl.GetHashCode();
            }
            if (PlacementType != 0)
            {
                hash ^= PlacementType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 24
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (CanonicalName.Length != 0)
            {
                hash ^= CanonicalName.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 25
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 26
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (ConstraintDefault != global::Google.Cloud.OrgPolicy.V2.Constraint.Types.ConstraintDefault.Unspecified)
            {
                hash ^= ConstraintDefault.GetHashCode();
            }
            if (constraintTypeCase_ == ConstraintTypeOneofCase.ListConstraint)
            {
                hash ^= ListConstraint.GetHashCode();
            }
            if (constraintTypeCase_ == ConstraintTypeOneofCase.BooleanConstraint)
            {
                hash ^= BooleanConstraint.GetHashCode();
            }
            hash ^= (int)constraintTypeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 27
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (datasetMetadataCase_ == DatasetMetadataOneofCase.TranslationDatasetMetadata)
            {
                hash ^= TranslationDatasetMetadata.GetHashCode();
            }
            if (datasetMetadataCase_ == DatasetMetadataOneofCase.ImageClassificationDatasetMetadata)
            {
                hash ^= ImageClassificationDatasetMetadata.GetHashCode();
            }
            if (datasetMetadataCase_ == DatasetMetadataOneofCase.TextClassificationDatasetMetadata)
            {
                hash ^= TextClassificationDatasetMetadata.GetHashCode();
            }
            if (datasetMetadataCase_ == DatasetMetadataOneofCase.ImageObjectDetectionDatasetMetadata)
            {
                hash ^= ImageObjectDetectionDatasetMetadata.GetHashCode();
            }
            if (datasetMetadataCase_ == DatasetMetadataOneofCase.TextExtractionDatasetMetadata)
            {
                hash ^= TextExtractionDatasetMetadata.GetHashCode();
            }
            if (datasetMetadataCase_ == DatasetMetadataOneofCase.TextSentimentDatasetMetadata)
            {
                hash ^= TextSentimentDatasetMetadata.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (ExampleCount != 0)
            {
                hash ^= ExampleCount.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (Etag.Length != 0)
            {
                hash ^= Etag.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            hash ^= (int)datasetMetadataCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 28
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (_messages != null ? _messages.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Result != null ? Result.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ _timeOut;
         hashCode = (hashCode * 397) ^ IsObject.GetHashCode();
         hashCode = (hashCode * 397) ^ (ObjectName != null ? ObjectName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (DisplayName != null ? DisplayName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ RabbitMQSourceResourceId.GetHashCode();
         hashCode = (hashCode * 397) ^ (QueueName != null ? QueueName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Response != null ? Response.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Prefetch != null ? Prefetch.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Acknowledge.GetHashCode();
         hashCode = (hashCode * 397) ^ (TimeOut != null ? TimeOut.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ReQueue.GetHashCode();
         hashCode = (hashCode * 397) ^ (Consumer != null ? Consumer.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Connection != null ? Connection.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Channel != null ? Channel.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (RabbitSource != null ? RabbitSource.GetHashCode() : 0);
         return(hashCode);
     }
 }
Ejemplo n.º 29
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (SessionId.Length != 0)
            {
                hash ^= SessionId.GetHashCode();
            }
            if (UseServerDisplayName != false)
            {
                hash ^= UseServerDisplayName.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (AcceptingTrades != false)
            {
                hash ^= AcceptingTrades.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 30
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FirstName.Length != 0)
            {
                hash ^= FirstName.GetHashCode();
            }
            if (LastName.Length != 0)
            {
                hash ^= LastName.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Email.Length != 0)
            {
                hash ^= Email.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (Phone.Length != 0)
            {
                hash ^= Phone.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }