4 writes to _image
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (4)
450
_image
= value;
520
_image
= null;
563
_image
= null;
603
_image
= null; // Image.set calls ImageList = null
9 references to _image
System.Windows.Forms (9)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (9)
418
if (
_image
is null && _imageList is not null)
436
Debug.Assert(
_image
is null, "We expect to be returning null.");
439
return
_image
;
452
if (
_image
is not null)
809
if (
_image
is not null)
811
ImageAnimator.Animate(
_image
, OnFrameChanged);
817
if (
_image
is not null)
819
ImageAnimator.StopAnimate(
_image
, OnFrameChanged);
1295
private bool ShouldSerializeImage() =>
_image
is not null;