Implemented interface member:
82 references to Dispose
System.Drawing.Common.Tests (53)
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
454bmp.Dispose();
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
218bmp.Dispose();
mono\System.Drawing.Imaging\IconCodecTests.cs (1)
1895bmp.Dispose();
mono\System.Drawing.Imaging\JpegCodecTests.cs (1)
374bmp.Dispose();
mono\System.Drawing.Imaging\PngCodecTests.cs (1)
594bmp.Dispose();
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
265bmp.Dispose();
mono\System.Drawing\BitmapTests.cs (1)
806bmp.Dispose();
mono\System.Drawing\GraphicsTests.cs (11)
364public void Dispose() { Graphics.Dispose(); _bitmap.Dispose(); } 721bitmap.Dispose(); 753bitmap.Dispose(); 765bitmap.Dispose(); 803bitmap.Dispose(); 814bitmap.Dispose(); 826bitmap.Dispose(); 841bitmap.Dispose(); 863bitmap.Dispose(); 878bitmap.Dispose(); 902bitmap.Dispose();
mono\System.Imaging\MetafileTest.cs (2)
323mf.Dispose(); 376mf.Dispose();
System\Drawing\BitmapTests.cs (19)
350image.Dispose(); 397bitmap.Dispose(); 416bitmap.Dispose(); 482bitmap.Dispose(); 503bitmap.Dispose(); 525bitmap.Dispose(); 549bitmap.Dispose(); 582bitmap.Dispose(); 611bitmap.Dispose(); 647bitmap.Dispose(); 720bitmap.Dispose(); 883bitmap.Dispose(); 965bitmap.Dispose(); 1006bitmap.Dispose(); 1087bitmap.Dispose(); 1174bitmap.Dispose(); 1259bitmap.Dispose(); 1268bitmap.Dispose(); 1455bitmap.Dispose();
System\Drawing\GraphicsTests.cs (1)
277image.Dispose();
System\Drawing\ImageAnimator.ManualTests.cs (1)
73bitmaps[imageName].Dispose();
System\Drawing\Imaging\MetafileTests.cs (3)
899metafile.Dispose(); 915metafile.Dispose(); 924metafile.Dispose();
System\Drawing\TextureBrushTests.cs (9)
34bitmap.Dispose(); 75image.Dispose(); 102image.Dispose(); 123image.Dispose(); 156image.Dispose(); 177image.Dispose(); 211image.Dispose(); 233image.Dispose(); 255image.Dispose();
System.Windows.Forms (17)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
304cacheCheckImage?.Dispose();
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1343s_checkImage.Dispose();
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
39FlipXPThemesBitmap.Dispose();
System\Windows\Forms\Controls\ImageList\ImageList.cs (4)
313source.Dispose(); 339source.Dispose(); 452bitmapValue.Dispose(); 645tmpBitmap.Dispose();
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (2)
180bitmap.Dispose(); 325bitmapValue.Dispose();
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
555t_indeterminateCheckedImage?.Dispose(); 557t_checkedImage?.Dispose();
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
806image.Dispose();
System\Windows\Forms\Design\PropertyTab.cs (1)
96_bitmap?.Dispose();
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
334_expandImage?.Dispose();
System\Windows\Forms\ErrorProvider\ErrorProvider.IconRegion.cs (1)
45bitmap.Dispose();
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
385clipboardImage.Dispose();
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1364t_checkImage.Dispose();
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
1211_backgroundImage?.Dispose();
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
1168_dragImage.Dispose(); 1178_dragComponents[i].dragImage.Dispose();
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (1)
77_image.Dispose();
System\Windows\Forms\Design\DesignBindingValueUIHandler.cs (1)
69_dataBitmap?.Dispose();
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\DataSourceDescriptorCollectionTests.cs (1)
112public void Dispose() => Image.Dispose();
System\Windows\Forms\Design\ImageListDesignerOriginalImageCollectionTests.cs (1)
27_image.Dispose();
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
150bitmap.Dispose();
System.Windows.Forms.Tests (2)
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (1)
88_bitmap?.Dispose();
System\Windows\Forms\TrackBarRendererTests.cs (1)
25_bitmap.Dispose();
System.Windows.Forms.UI.IntegrationTests (2)
Infra\ScreenRecordService.cs (2)
219s_frames.ForEach(frame => frame.image.Dispose()); 228s_frames.ForEach(frame => frame.image.Dispose());