public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } var other = (MemberAccessorClassType)obj; return(classType == other.classType && bindingFlags.Equals(other.bindingFlags)); }