示例#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);
            }

            NotEffect other = obj as NotEffect;

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

            return(Argument.Equals(other.Argument));
        }
示例#2
0
 public virtual void PostVisit(NotEffect data)
 {
 }