Esempio n. 1
0
        /// <summary>
        /// Checks the equality of objects.
        /// </summary>
        /// <param name="obj">Object to be checked.</param>
        /// <returns>True if the objects are equal, false otherwise.</returns>
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }

            EqualsEffect other = obj as EqualsEffect;

            if (other == null)
            {
                return(false);
            }

            return(LeftArgument.Equals(other.LeftArgument) &&
                   RightArgument.Equals(other.RightArgument));
        }
Esempio n. 2
0
 public virtual void PostVisit(EqualsEffect data)
 {
 }