/// <summary>
        /// Checks if two ranges intersect.
        /// </summary>
        /// <param name="other">The other range.</param>
        public bool IsIntersecting(IConstantRange other)
        {
            if (!Minimum.IsCompatibleWith(other.Maximum) || !other.Minimum.IsCompatibleWith(Maximum))
            {
                return(false);
            }

            if (Minimum.IsConstantGreater(other.Maximum) || other.Minimum.IsConstantGreater(Maximum))
            {
                return(false);
            }

            return(true);
        }