コード例 #1
0
        /// <inheritdoc />
        protected bool Equals(MorestachioExpressionListBase other)
        {
            if (!Location.Equals(other.Location))
            {
                return(false);
            }

            if (other.Expressions.Count != Expressions.Count)
            {
                return(false);
            }

            for (var index = 0; index < Expressions.Count; index++)
            {
                var expression = Expressions[index];
                var otherExp   = other.Expressions[index];
                if (!expression.Equals(otherExp))
                {
                    return(false);
                }
            }
            return(true);
        }
コード例 #2
0
 public ExpressionDebuggerDisplay(MorestachioExpressionListBase exp)
 {
     _exp = exp;
 }