34 instantiations of PropertyDescriptorCollection
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
70return new PropertyDescriptorCollection(tempPropertyDescriptors.ToArray(), true);
System.ComponentModel.TypeConverter (22)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
41PropertyDescriptorCollection properties = new PropertyDescriptorCollection(null);
System\ComponentModel\ArrayConverter.cs (2)
41return new PropertyDescriptorCollection(null); 55return new PropertyDescriptorCollection(props);
System\ComponentModel\CollectionConverter.cs (1)
36return new PropertyDescriptorCollection(null);
System\ComponentModel\Design\DesignerOptionService.cs (2)
203_properties = new PropertyDescriptorCollection(propArray, true); 442PropertyDescriptorCollection props = new PropertyDescriptorCollection(null);
System\ComponentModel\PropertyDescriptorCollection.cs (5)
19public static readonly PropertyDescriptorCollection Empty = new PropertyDescriptorCollection(null, true); 286return new PropertyDescriptorCollection(_properties, Count, _namedSort, _comparer); 296return new PropertyDescriptorCollection(_properties, Count, names, _comparer); 305return new PropertyDescriptorCollection(_properties, Count, names, comparer); 314return new PropertyDescriptorCollection(_properties, Count, _namedSort, comparer);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
635properties = new PropertyDescriptorCollection(fullArray, true);
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (1)
496_properties = new PropertyDescriptorCollection(propertyArray, true);
System\ComponentModel\TypeDescriptor.cs (9)
1329return new PropertyDescriptorCollection(null, true); 1356return new PropertyDescriptorCollection(null, true); 1368properties = new PropertyDescriptorCollection(descriptors, true); 1435return new PropertyDescriptorCollection(null, true); 1507props = new PropertyDescriptorCollection(propArray, true); 1576props = new PropertyDescriptorCollection(propArray, true); 1914cacheValue = new PropertyDescriptorCollection(propArray, true); 2105cacheValue = new PropertyDescriptorCollection(propArray, true); 2253cacheValue = new PropertyDescriptorCollection(propArray, true);
System.Data.Common (11)
System\Data\Common\DataRecordInternal.cs (1)
363_propertyDescriptors ??= new PropertyDescriptorCollection(null);
System\Data\Common\DbConnectionStringBuilder.cs (2)
415propertyDescriptors = new PropertyDescriptorCollection(properties); 584return new PropertyDescriptorCollection(filteredPropertiesArray);
System\Data\Common\DbDataRecord.cs (1)
102new PropertyDescriptorCollection(null);
System\Data\Common\DbEnumerator.cs (1)
108_descriptors = new PropertyDescriptorCollection(props);
System\Data\DataRowView.cs (1)
15private static readonly PropertyDescriptorCollection s_zeroPropertyDescriptorCollection = new PropertyDescriptorCollection(null);
System\Data\DataTable.cs (1)
4916_propertyDescriptorCollectionCache = new PropertyDescriptorCollection(props);
System\Data\DataView.cs (2)
1191return new PropertyDescriptorCollection(null); 1201return new PropertyDescriptorCollection(null);
System\Data\DataViewManager.cs (1)
302return new PropertyDescriptorCollection(null);
System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
127_propsCollection = new PropertyDescriptorCollection(props);
139 references to PropertyDescriptorCollection
netstandard (1)
netstandard.cs (1)
395[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.PropertyDescriptorCollection))]
PresentationFramework (2)
MS\Internal\Data\PropertyPathWorker.cs (1)
1494PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(item);
System\Windows\Data\BindingListCollectionView.cs (1)
2199PropertyDescriptorCollection pdc;
PresentationFramework-SystemData (1)
SystemDataExtension.cs (1)
70PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(list[0]);
PresentationFramework-SystemXmlLinq (1)
SystemXmlLinqExtension.cs (1)
22PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(xelement);
ReachFramework (3)
Serialization\ColorTypeConverter.cs (1)
223PropertyDescriptorCollection
Serialization\FontTypeConverter.cs (1)
211PropertyDescriptorCollection
Serialization\ImageSourceTypeConverter.cs (1)
297PropertyDescriptorCollection
System (1)
src\libraries\shims\System\ref\System.cs (1)
381[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.PropertyDescriptorCollection))]
System.ComponentModel.Annotations (6)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (4)
34public override PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 40public override PropertyDescriptorCollection GetProperties() 45private PropertyDescriptorCollection GetPropertiesWithMetadata(PropertyDescriptorCollection originalCollection)
System\ComponentModel\DataAnnotations\ValidationAttributeStore.cs (1)
215var properties = TypeDescriptor.GetProperties(_type);
System\ComponentModel\DataAnnotations\Validator.cs (1)
519var properties = TypeDescriptor.GetProperties(instance.GetType());
System.ComponentModel.TypeConverter (98)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (3)
33public override PropertyDescriptorCollection GetProperties() 39public override PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 41PropertyDescriptorCollection properties = new PropertyDescriptorCollection(null);
System\ComponentModel\ArrayConverter.cs (1)
33public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes)
System\ComponentModel\BindingList.cs (1)
23private PropertyDescriptorCollection? _itemTypeProperties;
System\ComponentModel\CollectionConverter.cs (1)
34public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\ComponentConverter.cs (1)
26public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\ComponentResourceManager.cs (1)
208static PropertyDescriptorCollection TypeDescriptorGetProperties(object value) => TypeDescriptor.GetProperties(value);
System\ComponentModel\CustomTypeDescriptor.cs (6)
197public virtual PropertyDescriptorCollection GetProperties() 204return PropertyDescriptorCollection.Empty; 211public virtual PropertyDescriptorCollection GetPropertiesFromRegisteredType() 234PropertyDescriptorCollection Forward() => GetProperties(); 245public virtual PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 252return PropertyDescriptorCollection.Empty;
System\ComponentModel\Design\DesignerOptionService.cs (5)
120private PropertyDescriptorCollection? _properties; 172public PropertyDescriptorCollection Properties 183PropertyDescriptorCollection props = TypeDescriptor.GetProperties(_value); 440public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? cxt, object value, Attribute[]? attributes) 442PropertyDescriptorCollection props = new PropertyDescriptorCollection(null);
System\ComponentModel\Design\IEventPropertyService.cs (1)
35PropertyDescriptorCollection GetEventProperties(EventDescriptorCollection events);
System\ComponentModel\Design\Serialization\IDesignerSerializationManager.cs (1)
28PropertyDescriptorCollection Properties { get; }
System\ComponentModel\ExpandableObjectConverter.cs (1)
26public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\IComNativeDescriptorHandler.cs (1)
30PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes);
System\ComponentModel\ICustomTypeDescriptor.cs (3)
69PropertyDescriptorCollection GetProperties(); 75PropertyDescriptorCollection GetProperties(Attribute[]? attributes); 129PropertyDescriptorCollection GetPropertiesFromRegisteredType()
System\ComponentModel\ITypedList.cs (1)
10PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[]? listAccessors);
System\ComponentModel\MultilineStringConverter.cs (1)
34public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\NullableConverter.cs (1)
163public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\PropertyDescriptor.cs (4)
250public PropertyDescriptorCollection GetChildProperties() => GetChildProperties(null, null); 253public PropertyDescriptorCollection GetChildProperties(Attribute[] filter) => GetChildProperties(null, filter); 256public PropertyDescriptorCollection GetChildProperties(object instance) => GetChildProperties(instance, null); 262public virtual PropertyDescriptorCollection GetChildProperties(object? instance, Attribute[]? filter)
System\ComponentModel\PropertyDescriptorCollection.cs (9)
19public static readonly PropertyDescriptorCollection Empty = new PropertyDescriptorCollection(null, true); 33/// Initializes a new instance of the <see cref='System.ComponentModel.PropertyDescriptorCollection'/> 284public virtual PropertyDescriptorCollection Sort() 294public virtual PropertyDescriptorCollection Sort(string[]? names) 303public virtual PropertyDescriptorCollection Sort(string[]? names, IComparer? comparer) 312public virtual PropertyDescriptorCollection Sort(IComparer? comparer) 387/// Gets an enumerator for this <see cref='System.ComponentModel.PropertyDescriptorCollection'/>. 591private readonly PropertyDescriptorCollection _owner; 594public PropertyDescriptorEnumerator(PropertyDescriptorCollection owner)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (8)
553internal PropertyDescriptorCollection GetExtendedPropertiesFromRegisteredType(object instance) => GetExtendedProperties(instance); 559internal PropertyDescriptorCollection GetExtendedProperties(object instance) 578return PropertyDescriptorCollection.Empty; 585PropertyDescriptorCollection? properties = null; 589properties = cache[s_extenderPropertiesKey] as PropertyDescriptorCollection; 639properties = PropertyDescriptorCollection.Empty; 888internal PropertyDescriptorCollection GetProperties([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type) 897internal PropertyDescriptorCollection GetPropertiesFromRegisteredType(Type type)
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (3)
23private PropertyDescriptorCollection? _properties; 471internal PropertyDescriptorCollection GetProperties() 504internal PropertyDescriptorCollection GetPropertiesFromRegisteredType() => GetProperties();
System\ComponentModel\TypeConverter.cs (5)
227public PropertyDescriptorCollection? GetProperties(object value) => GetProperties(null, value); 237public PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value) 249public virtual PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 335protected PropertyDescriptorCollection SortProperties(PropertyDescriptorCollection props, string[] names)
System\ComponentModel\TypeDescriptor.cs (32)
1323public static PropertyDescriptorCollection GetProperties( 1338public static PropertyDescriptorCollection GetPropertiesFromRegisteredType(Type componentType) 1349public static PropertyDescriptorCollection GetProperties( 1359PropertyDescriptorCollection properties = GetDescriptor(componentType, nameof(componentType)).GetProperties(attributes); 1379public static PropertyDescriptorCollection GetProperties(object component) 1387public static PropertyDescriptorCollection GetPropertiesFromRegisteredType(object component) 1397public static PropertyDescriptorCollection GetProperties(object component, bool noCustomTypeDesc) 1408public static PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes) 1419public static PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes, bool noCustomTypeDesc) 1430private static PropertyDescriptorCollection GetPropertiesImpl(object component, Attribute[]? attributes, bool noCustomTypeDesc, bool noAttributes) 1503if (!(results is PropertyDescriptorCollection props)) 1545private static PropertyDescriptorCollection GetPropertiesFromRegisteredTypeImpl(object component) 1572if (!(results is PropertyDescriptorCollection props)) 2849PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 2855PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 3182PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 3184PropertyDescriptorCollection properties = _primary.GetProperties() ?? _secondary.GetProperties(); 3194PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 3196PropertyDescriptorCollection properties = 3672PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 3685PropertyDescriptorCollection properties = desc.GetProperties(); 3693PropertyDescriptorCollection ICustomTypeDescriptor.GetPropertiesFromRegisteredType() 3706PropertyDescriptorCollection properties = desc.GetPropertiesFromRegisteredType(); 3715PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 3727PropertyDescriptorCollection props = rp.GetExtendedProperties(_instance); 3733PropertyDescriptorCollection properties = desc.GetProperties(attributes); 4084public PropertyDescriptorCollection GetProperties() 4090PropertyDescriptorCollection properties; 4112public PropertyDescriptorCollection GetPropertiesFromRegisteredType() 4118PropertyDescriptorCollection properties; 4142public PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 4148PropertyDescriptorCollection properties;
System\Drawing\PointConverter.cs (2)
115public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes) 117PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Point), attributes);
System\Drawing\RectangleConverter.cs (2)
121public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes) 123PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Rectangle), attributes);
System\Drawing\SizeConverter.cs (2)
113public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 115PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Size), attributes);
System\Drawing\SizeFConverter.cs (2)
110public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 112PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(SizeF), attributes);
System.Data.Common (26)
System\Data\Common\DataRecordInternal.cs (4)
15private PropertyDescriptorCollection _propertyDescriptors; 19internal DataRecordInternal(SchemaInfo[] schemaInfo, object[] values, PropertyDescriptorCollection descriptors, FieldNameLookup fieldNameLookup) 356PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 362PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) =>
System\Data\Common\DbConnectionStringBuilder.cs (7)
31private PropertyDescriptorCollection? _propertyDescriptors; 401private PropertyDescriptorCollection GetProperties() 403PropertyDescriptorCollection? propertyDescriptors = _propertyDescriptors; 540private PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 542PropertyDescriptorCollection propertyDescriptors = GetProperties(); 627PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 632PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes)
System\Data\Common\DbDataRecord.cs (2)
97PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => 101PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) =>
System\Data\Common\DbEnumerator.cs (1)
16internal PropertyDescriptorCollection? _descriptors; // cached property descriptors
System\Data\DataRowView.cs (3)
15private static readonly PropertyDescriptorCollection s_zeroPropertyDescriptorCollection = new PropertyDescriptorCollection(null); 254PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => ((ICustomTypeDescriptor)this).GetProperties(null); 257PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) =>
System\Data\DataTable.cs (2)
120private PropertyDescriptorCollection? _propertyDescriptorCollectionCache; 4899internal PropertyDescriptorCollection GetPropertyDescriptorCollection()
System\Data\DataView.cs (1)
1178PropertyDescriptorCollection System.ComponentModel.ITypedList.GetItemProperties(PropertyDescriptor[]? listAccessors)
System\Data\DataViewManager.cs (1)
282PropertyDescriptorCollection System.ComponentModel.ITypedList.GetItemProperties(PropertyDescriptor[]? listAccessors)
System\Data\DataViewManagerListItemTypeDescriptor.cs (4)
12private PropertyDescriptorCollection? _propsCollection; 98PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => 109PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) => 112internal PropertyDescriptorCollection GetPropertiesInternal()
System\Data\xmlsaver.cs (1)
117PropertyDescriptorCollection pds = TypeDescriptor.GetProperties(instance);