Exemplo n.º 1
0
 ///
 ///	 <summary> * hashCode complements equals() to fulfill the equals/hashCode contract </summary>
 ///
 public override int GetHashCode()
 {
     return(HashUtil.GetHashCode(0, this.ToString()));
 }
Exemplo n.º 2
0
 ///
 ///	 <summary> * hashCode complements equals() to fulfill the equals/hashCode contract
 ///	 *  </summary>
 ///	 * <returns> int </returns>
 ///
 public override int GetHashCode()
 {
     return(HashUtil.GetHashCode(0, this.m_vec));
 }
Exemplo n.º 3
0
 /// <summary>
 /// If you override Equals you override GetHashCode.
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(HashUtil.GetHashCode(base.GetHashCode(), ToString()));
 }
Exemplo n.º 4
0
 ///
 ///	 <summary> * hashCode complements equals() to fulfill the equals/hashCode contract
 ///	 *  </summary>
 ///	 * <returns> int </returns>
 ///
 public override int GetHashCode()
 {
     return(HashUtil.GetHashCode(0, this.m_hashTable));
 }