9d0dffe818
AddParts replaces _metadataProviders but left _metadataProviderCache holding provider arrays from the previous registration. Invalidate the cache so repeated AddParts calls cannot serve stale providers, and give the previously uncalled ClearMetadataProviderCache its intended caller.