14 types derived from TypeDescriptionProvider
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptionProvider.cs (1)
12public class AssociatedMetadataTypeTypeDescriptionProvider : TypeDescriptionProvider
System.ComponentModel.TypeConverter (8)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
14internal sealed class XTypeDescriptionProvider<T> : TypeDescriptionProvider
System\ComponentModel\DelegatingTypeDescriptionProvider.cs (1)
16internal sealed class DelegatingTypeDescriptionProvider : TypeDescriptionProvider
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
24internal sealed partial class ReflectTypeDescriptionProvider : TypeDescriptionProvider
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (1)
12internal sealed partial class ReflectTypeDescriptionProvider : TypeDescriptionProvider
System\ComponentModel\TypeDescriptor.cs (4)
2759private sealed class ComNativeDescriptionProvider : TypeDescriptionProvider 2874private sealed class AttributeProvider : TypeDescriptionProvider 3045private sealed class ComNativeDescriptorProxy : TypeDescriptionProvider 3227private sealed class TypeDescriptionNode : TypeDescriptionProvider
System.Private.Windows.Core.TestUtilities (1)
CustomConverter.cs (1)
43public class CustomTypeDescriptionProvider : TypeDescriptionProvider
System.Windows.Forms (1)
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
26internal sealed unsafe partial class ComNativeDescriptor : TypeDescriptionProvider
System.Windows.Forms.Tests (3)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1889private class CustomTypeDescriptionProvider : TypeDescriptionProvider
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (1)
307private class CustomTypeDescriptionProvider : TypeDescriptionProvider
System\Windows\Forms\TableLayoutPanelTests.cs (1)
2143private class CustomTypeDescriptionProvider : TypeDescriptionProvider
111 references to TypeDescriptionProvider
netstandard (1)
netstandard.cs (1)
420[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.TypeDescriptionProvider))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
406[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.TypeDescriptionProvider))]
System.ComponentModel.TypeConverter (72)
System\ComponentModel\CustomTypeDescriptor.cs (3)
109Justification = TypeDescriptionProvider.ForwardFromRegisteredMessage)] 233Justification = TypeDescriptionProvider.ForwardFromRegisteredMessage)] 265/// Whether types are required to be registered through <see cref="TypeDescriptionProvider.RegisterType{T}"/>.
System\ComponentModel\DelegatingTypeDescriptionProvider.cs (1)
28internal TypeDescriptionProvider Provider => TypeDescriptor.GetProviderRecursive(_type);
System\ComponentModel\ICustomTypeDescriptor.cs (3)
86Justification = TypeDescriptionProvider.ForwardFromRegisteredMessage)] 128Justification = TypeDescriptionProvider.ForwardFromRegisteredMessage)] 147/// Whether types are required to be registered through <see cref="TypeDescriptionProvider.RegisterType{T}"/>.
System\ComponentModel\TypeDescriptionProvider.cs (3)
18private readonly TypeDescriptionProvider? _parent; 41protected TypeDescriptionProvider(TypeDescriptionProvider parent) 368Justification = TypeDescriptionProvider.ForwardFromRegisteredMessage)]
System\ComponentModel\TypeDescriptionProviderService.cs (2)
8public abstract TypeDescriptionProvider GetProvider(object instance); 9public abstract TypeDescriptionProvider GetProvider(Type type);
System\ComponentModel\TypeDescriptor.cs (60)
172TypeDescriptionProvider provider = GetProvider(type); 190public static TypeDescriptionProvider AddAttributes(Type type, params Attribute[] attributes) 195TypeDescriptionProvider existingProvider = GetProvider(type); 196TypeDescriptionProvider provider = new AttributeProvider(existingProvider, attributes); 212public static TypeDescriptionProvider AddAttributes(object instance, params Attribute[] attributes) 217TypeDescriptionProvider existingProvider = GetProvider(instance); 218TypeDescriptionProvider provider = new AttributeProvider(existingProvider, attributes); 246public static void AddProvider(TypeDescriptionProvider provider, Type type) 272public static void AddProvider(TypeDescriptionProvider provider, object instance) 306public static void AddProviderTransparent(TypeDescriptionProvider provider, Type type) 322public static void AddProviderTransparent(TypeDescriptionProvider provider, object instance) 375if (providerType != null && typeof(TypeDescriptionProvider).IsAssignableFrom(providerType)) 377TypeDescriptionProvider prov = (TypeDescriptionProvider)Activator.CreateInstance(providerType)!; 499if (provider?.GetService(typeof(TypeDescriptionProvider)) is TypeDescriptionProvider p) 1526public static TypeDescriptionProvider GetProvider(Type type) 1540public static TypeDescriptionProvider GetProvider(object instance) 1594internal static TypeDescriptionProvider GetProviderRecursive(Type type) 1799private static void NodeRemove(object key, TypeDescriptionProvider provider) 2662public static void RemoveProvider(TypeDescriptionProvider provider, Type type) 2679public static void RemoveProvider(TypeDescriptionProvider provider, object instance) 2697public static void RemoveProviderTransparent(TypeDescriptionProvider provider, Type type) 2712public static void RemoveProviderTransparent(TypeDescriptionProvider provider, object instance) 2881internal AttributeProvider(TypeDescriptionProvider existingProvider, params Attribute[] attrs) : base(existingProvider) 3047private readonly TypeDescriptionProvider _comNativeDescriptor; 3057_comNativeDescriptor = (TypeDescriptionProvider)Activator.CreateInstance(realComNativeDescriptor)!; 3230internal TypeDescriptionProvider Provider; 3235internal TypeDescriptionNode(TypeDescriptionProvider provider) 3388Justification = TypeDescriptionProvider.ForwardFromRegisteredMessage)] 3439TypeDescriptionProvider p = _node.Provider; 3462TypeDescriptionProvider p = _node.Provider; 3484TypeDescriptionProvider p = _node.Provider; 3505TypeDescriptionProvider p = _node.Provider; 3527TypeDescriptionProvider p = _node.Provider; 3550TypeDescriptionProvider p = _node.Provider; 3570TypeDescriptionProvider p = _node.Provider; 3592TypeDescriptionProvider p = _node.Provider; 3612TypeDescriptionProvider p = _node.Provider; 3633TypeDescriptionProvider p = _node.Provider; 3655TypeDescriptionProvider p = _node.Provider; 3682TypeDescriptionProvider p = _node.Provider; 3703TypeDescriptionProvider p = _node.Provider; 3725TypeDescriptionProvider p = _node.Provider; 3753TypeDescriptionProvider p = _node.Provider; 3799TypeDescriptionProvider p = _node.Provider; 3826TypeDescriptionProvider p = _node.Provider; 3851TypeDescriptionProvider p = _node.Provider; 3877TypeDescriptionProvider p = _node.Provider; 3904TypeDescriptionProvider p = _node.Provider; 3932TypeDescriptionProvider p = _node.Provider; 3958TypeDescriptionProvider p = _node.Provider; 3986TypeDescriptionProvider p = _node.Provider; 4011TypeDescriptionProvider p = _node.Provider; 4038TypeDescriptionProvider p = _node.Provider; 4066TypeDescriptionProvider p = _node.Provider; 4094TypeDescriptionProvider p = _node.Provider; 4122TypeDescriptionProvider p = _node.Provider; 4152TypeDescriptionProvider p = _node.Provider; 4179TypeDescriptionProvider p = _node.Provider;
System.Private.Windows.Core.TestUtilities (5)
CustomConverter.cs (5)
18TypeDescriptionProvider parentProvider = TypeDescriptor.GetProvider(type); 27/// <see cref="TypeDescriptor.RemoveProvider(TypeDescriptionProvider, Type)"/> is called when going out of scope with the using. 32private readonly TypeDescriptionProvider _provider; 34public RegistrationScope(Type type, TypeDescriptionProvider provider) 47public CustomTypeDescriptionProvider(TypeDescriptionProvider parent, TypeConverter converter) : base(parent)
System.Windows.Forms.Design (17)
System\ComponentModel\Design\DesignerHost.cs (1)
137TypeDescriptionProvider typeProvider = _typeService.GetProvider(component);
System\ComponentModel\Design\InheritanceService.cs (2)
279TypeDescriptionProvider? targetProvider = GetTargetFrameworkProviderForType(type); 292private static TypeDescriptionProvider? GetTargetFrameworkProviderForType(Type type)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (10)
99protected static TypeDescriptionProvider? GetTargetFrameworkProvider(IServiceProvider provider, object instance) 110private static bool TryGetTargetFrameworkProviderAndCheckType(IDesignerSerializationManager manager, object instance, [NotNullWhen(true)] out TypeDescriptionProvider? targetProvider) 149if (TryGetTargetFrameworkProviderForType(manager, type, out TypeDescriptionProvider? targetProvider)) 178private static bool TryGetTargetFrameworkProviderForType(IServiceProvider provider, Type type, [NotNullWhen(true)] out TypeDescriptionProvider? targetProvider) 199if (TryGetTargetFrameworkProviderAndCheckType(manager, instance, out TypeDescriptionProvider? targetProvider)) 218if (TryGetTargetFrameworkProviderAndCheckType(manager, instance, out TypeDescriptionProvider? targetProvider)) 250if (TryGetTargetFrameworkProviderAndCheckType(manager, instance, out TypeDescriptionProvider? targetProvider)) 282if (TryGetTargetFrameworkProviderAndCheckType(manager, instance, out TypeDescriptionProvider? targetProvider)) 306if (TryGetTargetFrameworkProviderForType(manager, type, out TypeDescriptionProvider? targetProvider)) 569if (TryGetTargetFrameworkProviderForType(manager, fieldType, out TypeDescriptionProvider? tdp))
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (2)
228private static MethodInfo? ChooseMethodByType(TypeDescriptionProvider provider, List<MethodInfo> methods, ICollection values) 325TypeDescriptionProvider? provider = GetTargetFrameworkProvider(manager, originalCollection);
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
552TypeDescriptionProvider? typeProvider = typeProviderService.GetProvider(type);
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (1)
68TypeDescriptionProvider? typeProvider = GetTargetFrameworkProvider(manager, propertyValue);
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\CollectionEditorTests.cs (1)
266.Setup(c => c.GetService(typeof(TypeDescriptionProvider)))
System\ComponentModel\Design\CollectionFormTests.cs (1)
618.Setup(c => c.GetService(typeof(TypeDescriptionProvider)))
System\ComponentModel\Design\DesignerHostTests.cs (4)
654Mock<TypeDescriptionProvider> mockProvider = new(MockBehavior.Strict); 744Mock<TypeDescriptionProvider> mockTypeDescriptionProvider = new(MockBehavior.Strict); 814.Returns<TypeDescriptionProvider>(null) 845Mock<TypeDescriptionProvider> mockTypeDescriptionProvider = new(MockBehavior.Strict);
System\ComponentModel\Design\DesignSurfaceTests.cs (1)
126.Setup(p => p.GetService(typeof(TypeDescriptionProvider)))
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (4)
246Mock<TypeDescriptionProvider> mockProvider = new(MockBehavior.Strict); 1436Mock<TypeDescriptionProvider> mockTypeDescriptionProvider = new(MockBehavior.Strict); 1504.Returns((TypeDescriptionProvider)null); 1564Mock<TypeDescriptionProvider> mockTypeDescriptionProvider = new(MockBehavior.Strict);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ButtonBaseTests.cs (1)
668Mock<TypeDescriptionProvider> mockProvider = new(MockBehavior.Strict);
System\Windows\Forms\ListBindingHelperTests.cs (1)
200Mock<TypeDescriptionProvider> customPropertyDescriptorProvider = new(MockBehavior.Strict);
System\Windows\Forms\SpecialFolderEnumConverterTests.cs (1)
76Mock<TypeDescriptionProvider> mockProvider = new(MockBehavior.Strict);
System\Windows\Forms\TabPageTests.cs (1)
800Mock<TypeDescriptionProvider> mockProvider = new(MockBehavior.Strict);