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

            unchecked {
                if (tipoBaseRestriccion != null)
                {
                    hashCode += 1000000007 * tipoBaseRestriccion.GetHashCode();
                }
                if (restricciones != null)
                {
                    hashCode += 1000000009 * restricciones.GetHashCode();
                }
                if (elementosEnumerados != null)
                {
                    hashCode += 1000000021 * elementosEnumerados.GetHashCode();
                }
            }
            return(hashCode);
        }