2 instantiations of InheritedPropertyDescriptor
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ComponentDesigner.cs (1)
434
props.Add(prop.Name,
new
(prop, Component));
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\InheritedPropertyDescriptorTestExtensions.cs (1)
17
InheritedPropertyDescriptor inheritedPropertyDescriptor =
new
(propertyDescriptor, control);
14 references to InheritedPropertyDescriptor
System.Windows.Forms.Design (8)
System\ComponentModel\Design\ComponentDesigner.cs (4)
16
private Dictionary<string,
InheritedPropertyDescriptor
>? _inheritedProps;
404
Dictionary<string,
InheritedPropertyDescriptor
> props = [];
675
foreach (KeyValuePair<string,
InheritedPropertyDescriptor
> de in _inheritedProps)
681
InheritedPropertyDescriptor
inheritedPropDesc = de.Value;
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (3)
21
/// Initializes a new instance of the <see cref="
InheritedPropertyDescriptor
"/> class.
25
Debug.Assert(propertyDescriptor is not
InheritedPropertyDescriptor
, $"Recursive inheritance propertyDescriptor {propertyDescriptor}");
126
Debug.Assert(value is not
InheritedPropertyDescriptor
, $"Recursive inheritance propertyDescriptor {_propertyDescriptor}");
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (1)
182
if (property is
InheritedPropertyDescriptor
inheritedDesc && !isArray)
System.Windows.Forms.Design.Tests (6)
System\Windows\Forms\Design\InheritedPropertyDescriptorTestExtensions.cs (2)
13
public static
InheritedPropertyDescriptor
GetInheritedPropertyDescriptor(this Control control, string property)
17
InheritedPropertyDescriptor
inheritedPropertyDescriptor = new(propertyDescriptor, control);
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (4)
17
InheritedPropertyDescriptor
inheritedPropertyDescriptor = control.GetInheritedPropertyDescriptor(nameof(Control.Size));
31
InheritedPropertyDescriptor
inheritedPropertyDescriptor = control.GetInheritedPropertyDescriptor(nameof(Control.Anchor));
49
InheritedPropertyDescriptor
inheritedPropertyDescriptor = control.GetInheritedPropertyDescriptor(nameof(Control.BackColor));
63
InheritedPropertyDescriptor
inheritedPropertyDescriptor = control.GetInheritedPropertyDescriptor(nameof(Control.Visible));