Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((PropertyKey?.GetHashCode() ?? 0) * 397) ^ (Property?.GetHashCode() ?? 0));
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(m_propertyKey.GetHashCode());
 }
 /// <summary>
 /// Returns the hash code for a particular DataFieldInfo structure.
 /// </summary>
 /// <returns>A hash code.</returns>
 public override int GetHashCode() => _propKey.GetHashCode() ^ (Value != null ? Value.GetHashCode() : 0);
Beispiel #4
0
        /// <summary>
        /// Returns the hash code for a particular DataFieldInfo structure.
        /// </summary>
        /// <returns>A hash code.</returns>
        public override int GetHashCode( )
        {
            int valHashCode = _value != null?_value.GetHashCode( ) : 0;

            return(_propKey.GetHashCode( ) ^ valHashCode);
        }
 public override int GetHashCode()
 {
     return(31 * RelationshipTypeConflict.name().GetHashCode() + PropertyKey.GetHashCode());
 }