Пример #1
0
        public override bool Equals(object obj)
        {
            SpecializedMember other = obj as SpecializedMember;

            if (other == null)
            {
                return(false);
            }
            return(this.baseMember.Equals(other.baseMember) && this.substitution.Equals(other.substitution));
        }
Пример #2
0
        public virtual bool Equals(IMember obj, TypeVisitor typeNormalization)
        {
            SpecializedMember other = obj as SpecializedMember;

            if (other == null)
            {
                return(false);
            }
            return(this.baseMember.Equals(other.baseMember, typeNormalization) &&
                   this.substitution.Equals(other.substitution, typeNormalization));
        }