3 instantiations of ReflectedTypeData
System.ComponentModel.TypeConverter (3)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (3)
951
td = new
ReflectedTypeData
(type, isRegisteredType: false);
997
ReflectedTypeData td = new
ReflectedTypeData
(componentType, isRegisteredType: true);
1018
td = new
ReflectedTypeData
(type, isRegisteredType: true);
26 references to ReflectedTypeData
System.ComponentModel.TypeConverter (26)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (26)
27
private readonly ConcurrentDictionary<Type,
ReflectedTypeData
> _typeData = new ConcurrentDictionary<Type,
ReflectedTypeData
>();
285
if (_typeData.TryGetValue(type, out
ReflectedTypeData
? data) &&
312
ReflectedTypeData
td = GetTypeData(type, createIfNeeded: true)!;
345
ReflectedTypeData
td = GetTypeData(type, true)!;
354
ReflectedTypeData
td = GetTypeDataFromRegisteredType(type);
363
return
ReflectedTypeData
.GetComponentName(instance);
373
ReflectedTypeData
td = GetTypeData(type, createIfNeeded: true)!;
379
ReflectedTypeData
td = GetTypeDataFromRegisteredType(type);
390
ReflectedTypeData
td = GetTypeData(type, true)!;
400
ReflectedTypeData
td = GetTypeData(type, createIfNeeded: true)!;
410
ReflectedTypeData
td = GetTypeData(type, createIfNeeded: true)!;
466
ReflectedTypeData
td = GetTypeData(type, true)!;
472
ReflectedTypeData
td = GetTypeDataFromRegisteredType(type);
865
foreach (KeyValuePair<Type,
ReflectedTypeData
> kvp in _typeData)
882
ReflectedTypeData
td = GetTypeData(type, createIfNeeded: true)!;
891
ReflectedTypeData
td = GetTypeDataFromRegisteredType(type);
921
private
ReflectedTypeData
? GetTypeData([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type, bool createIfNeeded)
923
if (_typeData.TryGetValue(type, out
ReflectedTypeData
? td))
959
private
ReflectedTypeData
GetTypeDataFromRegisteredType(Type type)
961
if (!_typeData.TryGetValue(type, out
ReflectedTypeData
? td))
997
ReflectedTypeData
td = new ReflectedTypeData(componentType, isRegisteredType: true);
1002
private
ReflectedTypeData
GetOrRegisterType(Type type)
1004
if (_typeData.TryGetValue(type, out
ReflectedTypeData
? td))
1082
ReflectedTypeData
? td = GetTypeData(type, createIfNeeded: false);
1424
ReflectedTypeData
? td = GetTypeData(type, createIfNeeded: false);