Initializes the provider.
[UnconditionalSuppressMessage("Trimming", "IL2026", Justification = "Reflection-based defaults are only registered when dynamic code is supported.")]
public DefaultValueProvider(bool registerDefaults = true)
Whether to register the default value factories.