Exemplo n.º 1
0
        /// <summary>
        /// Returns a hash code for this instance.
        /// </summary>
        /// <returns>A hash code for this instance.</returns>
        public override int GetHashCode()
        {
            int hash = SemanticName.GetHashCode();

            hash = ((hash << 3) - hash) + SemanticIndex.GetHashCode();
            hash = ((hash << 3) - hash) + Format.GetHashCode();
            hash = ((hash << 3) - hash) + Offset.GetHashCode();
            return(hash);
        }