Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = IdMap.GetHashCode();
         hashCode = (hashCode * 397) ^ Provinces.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Width;
         hashCode = (hashCode * 397) ^ Height;
         hashCode = (hashCode * 397) ^ Buffer.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = Length.GetHashCode();
         hashCode = (hashCode * 397) ^ (Time != null ? Time.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Points != null ? Points.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemplo n.º 4
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = m_Positions.GetHashCode();
         hash = hash * 486187739 + m_ConfidenceValues.GetHashCode();
         hash = hash * 486187739 + m_Identifiers.GetHashCode();
         return(hash);
     }
 }
Exemplo n.º 5
0
 /// <summary>
 /// Generates a hash suitable for use with containers like `HashSet` and `Dictionary`.
 /// </summary>
 /// <returns>A hash code generated from this object's fields.</returns>
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = m_Vertices.GetHashCode();
         hash = hash * 486187739 + m_Normals.GetHashCode();
         hash = hash * 486187739 + m_Indices.GetHashCode();
         hash = hash * 486187739 + m_UVs.GetHashCode();
         return(hash);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = cullingResults.GetHashCode();
         hashCode = (hashCode * 397) ^ drawSettings.GetHashCode();
         hashCode = (hashCode * 397) ^ filteringSettings.GetHashCode();
         hashCode = (hashCode * 397) ^ tagName.GetHashCode();
         hashCode = (hashCode * 397) ^ (isPassTagName ? 0 : 1);
         hashCode = (hashCode * 397) ^ tagValues.GetHashCode();
         hashCode = (hashCode * 397) ^ stateBlocks.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 7
0
 public override int GetHashCode()
 {
     return(Technologies.GetHashCode());
 }
Exemplo n.º 8
0
 public override int GetHashCode()
 {
     return(EventModifiers.GetHashCode());
 }
Exemplo n.º 9
0
 public override int GetHashCode()
 {
     return(Bytes.GetHashCode());
 }
Exemplo n.º 10
0
 public override int GetHashCode() => PositionSlots.GetHashCode();