private void RefactorProperties(FilteredTypeMembers properties, string oldName, string newName)
{
foreach (CodeTypeMemberExtension memberExtension in properties)
{
CodeMemberProperty property = (CodeMemberProperty)memberExtension.ExtendedObject;
// Update the property type.
RefactorCodeTypeReference(property.Type, oldName, newName);
// Update the type references in attributes.
RefactorCodeTypeReferencesInAttributes(property.CustomAttributes, oldName, newName);
}
}