public static TBuilder RemoveProperty <TBuilder>(this TBuilder builder, string propertyName)
            where TBuilder : XmlObjectContractBuilder
        {
            if (builder.Properties != null)
            {
                var propertyInfo = XmlPropertyBuilder.GetPropertyInfo(builder.ValueType, propertyName);
                builder.Properties.Remove(propertyInfo);
            }

            return(builder);
        }
        public static XmlObjectContractBuilder <T> RemoveProperty <T, TProperty>(
            this XmlObjectContractBuilder <T> builder,
            Expression <Func <T, TProperty> > expression)
        {
            if (builder.Properties != null)
            {
                var propertyInfo = XmlPropertyBuilder.GetPropertyInfo(expression);
                builder.Properties.Remove(propertyInfo);
            }

            return(builder);
        }