Beispiel #1
0
        public override int GetHashCode()
        {
            int hashCode = 1713590872;

            hashCode = hashCode * -1521134295 + SheetIndex.GetHashCode();
            hashCode = hashCode * -1521134295 + RowIndex.GetHashCode();
            hashCode = hashCode * -1521134295 + CellIndex.GetHashCode();
            return(hashCode);
        }
Beispiel #2
0
        /// <summary>
        /// Returns a hash code for this instance.
        /// </summary>
        /// <returns>
        /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
        /// </returns>
        public override int GetHashCode()
        {
            int hash = 17;

            hash = (hash * 23) + ColumnIndex.GetHashCode();
            hash = (hash * 23) + RowIndex.GetHashCode();
            hash = (hash * 23) + State.GetHashCode();

            return(hash);
        }
Beispiel #3
0
 public override int GetHashCode()
 {
     return(Column.GetHashCode() + RowIndex.GetHashCode());
 }
 public override int GetHashCode()
 {
     return(RowIndex.GetHashCode() * ColumnIndex.GetHashCode());
 }
Beispiel #5
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(ColumnIndex.GetHashCode() ^ RowIndex.GetHashCode() ^ State.GetHashCode());
 }