private static void WriteCreateOrModifyContentListTypes(SchemaEditor origSchema, SchemaEditor newSchema, List <PropertySet> modifiedPropertySets, SchemaWriter writer)
{
foreach (var newType in newSchema.ContentListTypes)
{
if (NeedToCreate <ContentListType>(origSchema.ContentListTypes, newType))
{
writer.CreateContentListType(newType.Name);
}
WriteAddOrRemovePropertyTypes(origSchema.ContentListTypes[newType.Name], newType, modifiedPropertySets, writer);
}
}