コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((PropertyKey?.GetHashCode() ?? 0) * 397) ^ (Property?.GetHashCode() ?? 0));
     }
 }
コード例 #2
0
 public override int GetHashCode()
 {
     return(m_propertyKey.GetHashCode());
 }
コード例 #3
0
 /// <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);
コード例 #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);
        }
コード例 #5
0
 public override int GetHashCode()
 {
     return(31 * RelationshipTypeConflict.name().GetHashCode() + PropertyKey.GetHashCode());
 }