4 writes to _image
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (4)
408
_image
= value;
472
_image
= null;
515
_image
= null;
555
_image
= null; // Image.set calls ImageList = null
9 references to _image
System.Windows.Forms (9)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (9)
376
if (
_image
is null && _imageList is not null)
394
Debug.Assert(
_image
is null, "We expect to be returning null.");
397
return
_image
;
409
if (
_image
is not null)
754
if (
_image
is not null)
756
ImageAnimator.Animate(
_image
, OnFrameChanged);
762
if (
_image
is not null)
764
ImageAnimator.StopAnimate(
_image
, OnFrameChanged);
1236
private bool ShouldSerializeImage() =>
_image
is not null;