3 writes to Provider
System.ComponentModel.TypeConverter (3)
System\ComponentModel\TypeDescriptor.cs (3)
1825target.Provider = target.Next.Provider; 1855target.Provider = new DelegatingTypeDescriptionProvider(keyType.BaseType!); 3237Provider = provider;
102 references to Provider
System.ComponentModel.TypeConverter (102)
System\ComponentModel\TypeDescriptor.cs (102)
128node.Provider.RegisterType<T>(); 1806while (target != null && target.Provider != provider) 1825target.Provider = target.Next.Provider; 1834if (target == head && target.Provider is DelegatingTypeDescriptionProvider) 2337while (node != null && !(node.Provider is ReflectTypeDescriptionProvider)) 2345ReflectTypeDescriptionProvider provider = (ReflectTypeDescriptionProvider)node.Provider; 2421while (node != null && !(node.Provider is ReflectTypeDescriptionProvider)) 2429ReflectTypeDescriptionProvider provider = (ReflectTypeDescriptionProvider)node.Provider; 2482while (node != null && !(node.Provider is ReflectTypeDescriptionProvider)) 2491ReflectTypeDescriptionProvider provider = (ReflectTypeDescriptionProvider)node.Provider; 2591comNativeDescriptionProvider = (typeDescriptionNode.Provider as ComNativeDescriptionProvider); 2601while (typeDescriptionNode != null && !(typeDescriptionNode.Provider is ComNativeDescriptionProvider)) 2610((ComNativeDescriptionProvider)typeDescriptionNode.Provider).Handler = value; 3262return Provider.CreateInstance(provider, objectType, argTypes, args); 3273return Provider.GetCache(instance); 3298if (!Provider.IsRegisteredType(type)) 3310return Provider.GetExtenderProviders(instance); 3327return Provider.GetFullComponentName(component); 3341return Provider.GetReflectionType(objectType, instance); 3348return Provider.GetRuntimeType(objectType); 3401return Provider.IsSupportedType(type); 3404public override bool? RequireRegisteredTypes => Provider.RequireRegisteredTypes; 3406public override bool IsRegisteredType(Type type) => Provider.IsRegisteredType(type); 3408public override void RegisterType<[DynamicallyAccessedMembers(RegisteredTypesDynamicallyAccessedMembers)] T>() => Provider.RegisterType<T>(); 3439TypeDescriptionProvider p = _node.Provider; 3446if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3448if (attrs == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetAttributes")); 3462TypeDescriptionProvider p = _node.Provider; 3469if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3484TypeDescriptionProvider p = _node.Provider; 3491if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3505TypeDescriptionProvider p = _node.Provider; 3512if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3514if (converter == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter")); 3527TypeDescriptionProvider p = _node.Provider; 3534if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3536if (converter == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter")); 3550TypeDescriptionProvider p = _node.Provider; 3557if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3570TypeDescriptionProvider p = _node.Provider; 3577if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3592TypeDescriptionProvider p = _node.Provider; 3599if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3612TypeDescriptionProvider p = _node.Provider; 3619if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3621if (events == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 3633TypeDescriptionProvider p = _node.Provider; 3640if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptorFromRegisteredType")); 3642if (events == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEventsFromRegisteredType")); 3655TypeDescriptionProvider p = _node.Provider; 3667if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3669if (evts == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 3682TypeDescriptionProvider p = _node.Provider; 3689if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3691if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 3703TypeDescriptionProvider p = _node.Provider; 3710if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3712if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 3725TypeDescriptionProvider p = _node.Provider; 3737if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3739if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 3753TypeDescriptionProvider p = _node.Provider; 3761if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3799TypeDescriptionProvider p = _node.Provider; 3809throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3812throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetAttributes")); 3826TypeDescriptionProvider p = _node.Provider; 3836throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3851TypeDescriptionProvider p = _node.Provider; 3861throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3877TypeDescriptionProvider p = _node.Provider; 3887throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3890throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter")); 3904TypeDescriptionProvider p = _node.Provider; 3914throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3917throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverterFromRegisteredType")); 3932TypeDescriptionProvider p = _node.Provider; 3942throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3958TypeDescriptionProvider p = _node.Provider; 3968throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3986TypeDescriptionProvider p = _node.Provider; 3996throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4011TypeDescriptionProvider p = _node.Provider; 4021throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4024throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 4038TypeDescriptionProvider p = _node.Provider; 4048throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptorFromRegisteredType")); 4051throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEventsFromRegisteredType")); 4066TypeDescriptionProvider p = _node.Provider; 4076throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4079throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 4094TypeDescriptionProvider p = _node.Provider; 4104throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4108throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 4122TypeDescriptionProvider p = _node.Provider; 4132throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4137throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetPropertiesFromRegisteredType")); 4152TypeDescriptionProvider p = _node.Provider; 4162throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4165throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 4179TypeDescriptionProvider p = _node.Provider; 4189throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));