3 writes to _nativeImageList
System.Windows.Forms (3)
System\Windows\Forms\Controls\ImageList\ImageList.cs (3)
214_nativeImageList = himl.Duplicate(); 431_nativeImageList = new NativeImageList(_imageSize, flags); 466_nativeImageList = null;
11 references to _nativeImageList
System.Windows.Forms (11)
System\Windows\Forms\Controls\ImageList\ImageList.cs (11)
112if (_nativeImageList is null) 117return _nativeImageList.HIMAGELIST; 128[MemberNotNullWhen(true, nameof(_nativeImageList))] 129public bool HandleCreated => _nativeImageList is not null; 206if (value.GetNativeImageList() is not { } himl || himl == _nativeImageList) 215if (PInvoke.ImageList.GetIconSize(new HandleRef<HIMAGELIST>(this, _nativeImageList.HIMAGELIST), out int x, out int y)) 221if (PInvoke.ImageList.GetImageInfo(new HandleRef<HIMAGELIST>(this, _nativeImageList.HIMAGELIST), 0, out IMAGEINFO imageInfo)) 398[MemberNotNull(nameof(_nativeImageList))] 401Debug.Assert(_nativeImageList is null, "Handle already created, this may be a source of temporary GDI leaks"); 430_nativeImageList?.Dispose(); 465_nativeImageList.Dispose();