public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hash = 17; hash = hash * 29 + SignalType.GetHashCode(); hash = hash * 29 + Callback.GetHashCode(); return(hash); } }
public override int GetHashCode() { unchecked { int hash = 17; hash = (hash * 23) + SignalType.GetHashCode(); hash = (hash * 23) + ResponseType.GetHashCode(); hash = (hash * 23) + (Group == null ? 0 : Group.GetHashCode()); return(hash); } }
public override int GetHashCode() { unchecked { if (hash == 0) { hash = massAnalyzer.GetHashCode(); hash = (hash * 397) ^ fragmentationType.GetHashCode(); hash = (hash * 397) ^ signalType.GetHashCode(); } return(hash); } }
public override int GetHashCode() { int hash = 1; if (SignalType.Length != 0) { hash ^= SignalType.GetHashCode(); } hash ^= payload_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }