public override bool Equals(object o) { SoapTypeSerializationSource other = o as SoapTypeSerializationSource; if (other == null) { return(false); } if (!type.Equals(other.type)) { return(false); } if (attributeOverrides != null) { if (!attributeOverrides.Equals(other.attributeOverrides)) { return(false); } } else if (other.attributeOverrides != null) { return(false); } return(base.BaseEquals(other)); }