public override int GetHashCode() { int hash = 1; if (Ver != 0) { hash ^= Ver.GetHashCode(); } hash ^= exceptions_.GetHashCode(); if (SeverityLevel != 0) { hash ^= SeverityLevel.GetHashCode(); } if (ProblemId.Length != 0) { hash ^= ProblemId.GetHashCode(); } hash ^= Properties.GetHashCode(); hash ^= Measurements.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int result = !string.ReferenceEquals(_code, null) ? _code.GetHashCode() : 0; result = 31 * result + (!string.ReferenceEquals(_title, null) ? _title.GetHashCode() : 0); result = 31 * result + (!string.ReferenceEquals(_description, null) ? _description.GetHashCode() : 0); result = 31 * result + (_severityLevel != null ? _severityLevel.GetHashCode() : 0); result = 31 * result + (_position != null ? _position.GetHashCode() : 0); return(result); }
public override int GetHashCode() { int hash = 1; if (Ver != 0) { hash ^= Ver.GetHashCode(); } if (Message_.Length != 0) { hash ^= Message_.GetHashCode(); } if (SeverityLevel != 0) { hash ^= SeverityLevel.GetHashCode(); } hash ^= Properties.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }