2 writes to _propertyDescriptor
System.Windows.Forms.Design (2)
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (2)
26_propertyDescriptor = propertyDescriptor; 127_propertyDescriptor = value;
17 references to _propertyDescriptor
System.Windows.Forms.Design (17)
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (17)
112public override Type ComponentType => _propertyDescriptor.ComponentType; 117public override bool IsReadOnly => _propertyDescriptor.IsReadOnly || Equals(Attributes[typeof(ReadOnlyAttribute)], ReadOnlyAttribute.Yes); 123get => _propertyDescriptor; 126Debug.Assert(value is not InheritedPropertyDescriptor, $"Recursive inheritance propertyDescriptor {_propertyDescriptor}"); 134public override Type PropertyType => _propertyDescriptor.PropertyType; 144return _propertyDescriptor.CanResetValue(component); 158!_propertyDescriptor.TryGetAttribute(out DesignerSerializationVisibilityAttribute? dsva) || 180foreach (Attribute attr in _propertyDescriptor.Attributes) 191return _propertyDescriptor.GetValue(component); 205if (!_propertyDescriptor.ShouldSerializeValue(component)) 207if (_propertyDescriptor.TryGetAttribute(out DefaultValueAttribute? defaultAttribute)) 215currentValue = _propertyDescriptor.GetValue(component); 220_defaultValue = _propertyDescriptor.GetValue(component); 243_propertyDescriptor.ResetValue(component); 269_propertyDescriptor.SetValue(component, value); 279return _propertyDescriptor.ShouldSerializeValue(component) && Attributes.Contains(DesignerSerializationVisibilityAttribute.Content); 284return _propertyDescriptor.ShouldSerializeValue(component);