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