4 writes to _baseAttributes
System.Windows.Forms (4)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (4)
89_baseAttributes = attributes; 153return _baseAttributes ??= []; 171_baseAttributes = new Attribute[attributes.Count]; 180_baseAttributes = [];
9 references to _baseAttributes
System.Windows.Forms (9)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (9)
152Debug.Assert(_baseAttributes is not null); 158int baseCount = _baseAttributes is null ? 0 : _baseAttributes.Length; 162if (_baseAttributes is not null) 164attributes.AddRange(_baseAttributes); 174if (_baseAttributes is not null) 176attributes.CopyTo(_baseAttributes, 0); 183return _baseAttributes; 470(Attribute[])(_baseAttributes?.Clone() ?? Array.Empty<Attribute>()),