public static void AddProviderTransparent(TypeDescriptionProvider provider, object instance) { if (provider == null) { throw new ArgumentNullException(nameof(provider)); } if (instance == null) { throw new ArgumentNullException(nameof(instance)); } Type type = instance.GetType(); AddProvider(provider, instance); }