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