4 writes to _originals
System.Windows.Forms (4)
System\Windows\Forms\Controls\ImageList\ImageList.cs (4)
213
_originals
= null;
457
_originals
= null;
467
_originals
= [];
737
_originals
= [];
14 references to _originals
System.Windows.Forms (14)
System\Windows\Forms\Controls\ImageList\ImageList.cs (6)
436
Debug.Assert(
_originals
is not null, "Handle not yet created, yet original images are gone");
437
for (int i = 0; i <
_originals
.Count; i++)
439
Original original =
_originals
[i];
483
if (
_originals
is not null)
486
foreach (Original original in
_originals
)
734
if (
_originals
is null || Images.Empty)
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (8)
75
Debug.Assert((_owner.
_originals
is null) == (_owner.HandleCreated), " Either we should have the original images, or the handle should be created");
91
if (_owner.
_originals
is null)
97
foreach (Original original in _owner.
_originals
)
314
if (_owner.
_originals
is not null)
316
index = ((IList)_owner.
_originals
).Add(original);
331
if (_owner.
_originals
is not null)
333
index = ((IList)_owner.
_originals
).Add(original);
417
_owner.
_originals
?.Clear();