Implemented interface member:
79 references to Dispose
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
1014cellBackground.Dispose();
System.Drawing.Common.Tests (62)
mono\System.Drawing\GraphicsTests.cs (2)
876brush.Dispose(); 900brush.Dispose();
System\Drawing\BrushTests.cs (1)
24brush.Dispose();
System\Drawing\Drawing2D\HatchBrushTests.cs (6)
83brush.Dispose(); 92brush.Dispose(); 101brush.Dispose(); 110brush.Dispose(); 119brush.Dispose(); 120brush.Dispose();
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (17)
250brush.Dispose(); 347brush.Dispose(); 366brush.Dispose(); 478brush.Dispose(); 559brush.Dispose(); 569brush.Dispose(); 593brush.Dispose(); 630brush.Dispose(); 650brush.Dispose(); 727brush.Dispose(); 777brush.Dispose(); 827brush.Dispose(); 878brush.Dispose(); 922brush.Dispose(); 982brush.Dispose(); 992brush.Dispose(); 993brush.Dispose();
System\Drawing\Drawing2D\PathGradientBrushTests.cs (16)
132brush.Dispose(); 152brush.Dispose(); 190brush.Dispose(); 238brush.Dispose(); 290brush.Dispose(); 416brush.Dispose(); 500brush.Dispose(); 566brush.Dispose(); 652brush.Dispose(); 689brush.Dispose(); 723brush.Dispose(); 793brush.Dispose(); 843brush.Dispose(); 884brush.Dispose(); 910brush.Dispose(); 928brush.Dispose();
System\Drawing\GraphicsTests.Core.cs (1)
140brush.Dispose();
System\Drawing\GraphicsTests.cs (1)
2672brush.Dispose();
System\Drawing\PenTests.cs (2)
85brush.Dispose(); 184brush.Dispose();
System\Drawing\SolidBrushTests.cs (7)
54brush.Dispose(); 63brush.Dispose(); 72brush.Dispose(); 88brush.Dispose(); 104brush.Dispose(); 105brush.Dispose(); 112AssertExtensions.Throws<ArgumentException>(null, brush.Dispose);
System\Drawing\TextureBrushTests.cs (9)
316brush.Dispose(); 326brush.Dispose(); 425brush.Dispose(); 451brush.Dispose(); 512brush.Dispose(); 576brush.Dispose(); 617brush.Dispose(); 681brush.Dispose(); 716brush.Dispose();
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
153backgroundBrush?.Dispose();
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1524t_gridBrush.Dispose(); 2088t_frameBrushActive.Dispose(); 2218t_frameBrushSelected.Dispose();
System.Windows.Forms.Design (12)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
55_watermarkBrush?.Dispose();
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
279foreBrush.Dispose();
System\Windows\Forms\Design\ComponentTray.cs (2)
1478selectionBorderBrush?.Dispose(); 2316foreBrush?.Dispose();
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (3)
1032selectedBrush.Dispose(); 1033backBrush.Dispose(); 1034foreBrush.Dispose();
System\Windows\Forms\Design\DesignerUtils.cs (3)
166s_hoverBrush.Dispose(); 169s_selectionBorderBrush.Dispose(); 240brush.Dispose();
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (1)
148brush.Dispose();
System\Windows\Forms\Design\TabOrder.cs (1)
290foreBrush.Dispose();