public static XmlAttributeOverrides IgnorePropertiesOfType(this XmlAttributeOverrides overrides, Type declaringType, Type propertyType) { return(overrides.IgnorePropertiesOfType(declaringType, propertyType, new HashSet <Type>())); }