/// <summary> /// Get the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { int hash = ((m_f1 == null) ? 0 : m_f1.GetHashCode()); hash += ((m_f2 == null) ? 0 : m_f2.GetHashCode()); hash += ((m_f3 == null) ? 0 : m_f3.GetHashCode()); return(hash); }
/// <summary> /// Get the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { int prime = 31; int result = 1; result = prime * result + ((_f1 == null) ? 0 : _f1.GetHashCode()); result = prime * result + ((_f2 == null) ? 0 : _f2.GetHashCode()); result = prime * result + ((_f3 == null) ? 0 : _f3.GetHashCode()); return(result); }