Пример #1
0
        /// <inheritdoc/>
        protected override ulong CalculateLongHashCode()
        {
            var result = base.CalculateLongHashCode();

            if (LeftOperand != null)
            {
                result ^= LongHashCodeWeights.BaseParamWeight ^ LeftOperand.GetLongHashCode();
            }

            if (RightOperand != null)
            {
                result ^= LongHashCodeWeights.BaseParamWeight ^ RightOperand.GetLongHashCode();
            }

            return(result);
        }