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