3 writes to _items
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.MultiMergeCollection.cs (3)
63
_items
= [];
74
_items
= [];
89
_items
= new object[collection.Count];
10 references to _items
System.Windows.Forms (10)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.MultiMergeCollection.cs (10)
22
public int Count =>
_items
?.Length ?? 0;
35
if (
_items
is null)
40
Array.Copy(
_items
, 0, array, index,
_items
.Length);
43
public IEnumerator GetEnumerator() =>
_items
?.GetEnumerator() ?? Array.Empty<object>().GetEnumerator();
61
if (
_items
is null ||
_items
.Length != collection.Count)
71
if (((newItems[i] is null) != (
_items
[i] is null)) ||
72
(
_items
[i] is object item && !item.Equals(newItems[i])))
90
collection.CopyTo(
_items
, 0);