private void RemoveInheritedPropertyTypes(PropertyType propertyType)
{
foreach (NodeType childSet in this.Children)
{
if (!childSet.DeclaredPropertyTypes.Contains(propertyType))
{
childSet.RemoveInheritedPropertyTypes(propertyType);
childSet.PropertyTypes.Remove(propertyType);
}
}
}