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