Implemented interface member:
603 references to Dispose
Aspire.EndToEnd.Tests (3)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
381AppHostProcess.Dispose();
tests\Shared\WorkloadTesting\TestExtensions.cs (1)
45process.Dispose();
tests\Shared\WorkloadTesting\ToolCommand.cs (1)
196CurrentProcess.Dispose();
Aspire.Hosting.Tests (2)
Utils\DockerUtils.cs (2)
24process.Dispose(); 40process.Dispose();
Aspire.Workload.Tests (3)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
381AppHostProcess.Dispose();
tests\Shared\WorkloadTesting\TestExtensions.cs (1)
45process.Dispose();
tests\Shared\WorkloadTesting\ToolCommand.cs (1)
196CurrentProcess.Dispose();
DesignSurface (1)
MainForm.cs (1)
429propertyGrid.Dispose();
InteropTests (2)
src\Shared\Process\ProcessEx.cs (2)
220_process.Dispose(); 257_process.Dispose();
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
Utilities\ScratchDatabaseFixture.cs (1)
37_connection.Dispose();
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\ServerFactory.cs (1)
83_connection.Dispose();
Microsoft.AspNetCore.Identity.InMemory.Test (1)
InMemoryUserStoreTest.cs (1)
59_connection.Dispose();
Microsoft.AspNetCore.Server.IntegrationTesting (2)
src\Shared\Process\ProcessEx.cs (2)
220_process.Dispose(); 257_process.Dispose();
Microsoft.Build.Framework (1)
NativeMethods.cs (1)
1372thisProcess.Dispose();
Microsoft.Build.Tasks.Core (4)
GenerateResource.cs (3)
1649provider?.Dispose(); 2172provider?.Dispose(); 3489provider?.Dispose();
WriteCodeFragment.cs (1)
288provider?.Dispose();
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
807proc.Dispose();
Microsoft.CodeAnalysis.LanguageServer (2)
HostWorkspace\FileWatching\SimpleFileChangeWatcher.cs (2)
89directoryWatcher.Dispose(); 131_watcher.Dispose();
Microsoft.DotNet.Open.Api.Tools.Tests (1)
ProcessEx.cs (1)
138_process.Dispose();
Microsoft.DotNet.RemoteExecutor (1)
RemoteInvokeHandle.cs (1)
257Process.Dispose();
Microsoft.Extensions.ApiDescription.Client.Tests (2)
src\Shared\Process\ProcessEx.cs (2)
220_process.Dispose(); 257_process.Dispose();
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\Interop\ProcessInfo.cs (1)
34process?.Dispose();
Microsoft.Extensions.FileProviders.Physical (1)
PhysicalFilesWatcher.cs (1)
265_fileWatcher?.Dispose();
Microsoft.Extensions.Logging.EventLog (1)
EventLogLoggerProvider.cs (1)
55windowsEventLog.DiagnosticsEventLog.Dispose();
Microsoft.Extensions.ML (1)
ModelLoaders\FileModelLoader.cs (1)
146_watcher?.Dispose();
Microsoft.Maui (1)
Animations\Ticker.cs (1)
64 _timer.Dispose();
Microsoft.ML.AutoML (1)
AutoMLExperiment\IPerformanceMonitor.cs (1)
101_timer?.Dispose();
Microsoft.ML.AutoML.Tests (1)
AutoMLExperimentTests.cs (1)
516_timer?.Dispose();
Microsoft.ML.Data (2)
DataLoadSave\Database\DatabaseLoaderCursor.cs (2)
124_command?.Dispose(); 125_connection?.Dispose();
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (1)
694Dim disposeSplashDelegate As New DisposeDelegate(AddressOf _splashScreen.Dispose)
Microsoft.VisualBasic.Forms.Tests (1)
System\Windows\Forms\CompilerServices.TestVbHost.vb (1)
29_testControl.Dispose()
Microsoft.VisualStudio.LanguageServices (1)
LanguageService\AbstractLanguageService`2.VsCodeWindowManager.cs (1)
296_documentOutlineViewHost.Dispose();
MSBuildTaskHost (1)
NativeMethods.cs (1)
1372thisProcess.Dispose();
PresentationFramework (1)
System\Windows\Controls\SoundPlayerAction.cs (1)
43m_player.Dispose();
PresentationUI (8)
MS\Internal\Documents\Application\DocumentProperties.cs (1)
320dialog.Dispose();
MS\Internal\Documents\DocumentSignatureManager.cs (4)
254dialog.Dispose(); 290dialog.Dispose(); 525dialog.Dispose(); 761requestSignatureDialog.Dispose();
MS\Internal\Documents\RightsManagementManager.cs (3)
267_credManagerDialog.Dispose(); 408rmPermissionsPage.Dispose(); 549rmPublish.Dispose();
System.Data.Common (9)
System\Data\Common\DbCommand.cs (1)
247Dispose();
System\Data\Common\DBCommandBuilder.cs (3)
1511command.Dispose(); 1515command.Dispose(); 1519command.Dispose();
System\Data\Common\DbConnection.cs (1)
107Dispose();
System\Data\Common\DbDataSource.cs (4)
28connection.Dispose(); 316_wrappedCommand.Dispose(); 317connection!.Dispose(); 547connection!.Dispose();
System.Data.Odbc (6)
System\Data\Odbc\OdbcMetaDataFactory.cs (6)
553command?.Dispose();; 815command?.Dispose();; 864command?.Dispose();; 901command?.Dispose();; 957command?.Dispose();; 1041command?.Dispose();;
System.Diagnostics.Process (5)
System\Diagnostics\Process.NonUap.cs (2)
62process.Dispose(); 95possibleChildProcess.Dispose();
System\Diagnostics\Process.Unix.cs (1)
140childProcess.Dispose();
System\Diagnostics\ProcessModuleCollection.cs (1)
45processModule.Dispose();
System\Diagnostics\ProcessThreadCollection.cs (1)
88processThread.Dispose();
System.IO.Ports (1)
System\IO\Ports\SerialPort.cs (1)
588Dispose();
System.Windows.Forms (59)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3399_newParent?.Dispose();
System\Windows\Forms\Application.ThreadContext.cs (1)
626dialog.Dispose();
System\Windows\Forms\Application.ThreadWindows.cs (1)
51Control.FromHandle(hwnd)?.Dispose();
System\Windows\Forms\ApplicationContext.cs (1)
105_mainForm.Dispose();
System\Windows\Forms\Control.cs (1)
4745child.Dispose();
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
785_textToolTip?.Dispose();
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
2673_latestEditingControl.Dispose(); 5585keyboardToolTip.Dispose(); 5598_vertScrollBar?.Dispose(); 5601_horizScrollBar?.Dispose(); 5607_latestEditingControl?.Dispose(); 5610EditingControl?.Dispose(); 5613_editingPanel?.Dispose();
System\Windows\Forms\Controls\DataGridView\DataGridView.ToolTip.cs (1)
56ToolTip.Dispose();
System\Windows\Forms\Controls\Labels\Label.cs (1)
958_textToolTip?.Dispose();
System\Windows\Forms\Controls\ListView\ListView.cs (2)
3065_columnHeaders[colIdx].Dispose(); 3139KeyboardToolTip.Dispose();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (8)
961_scrollBar?.Dispose(); 962_listBox?.Dispose(); 963_dropDownHolder?.Dispose(); 983_editTextBox?.Dispose(); 989_dropDownButton?.Dispose(); 992_dialogButton?.Dispose(); 995_toolTip?.Dispose(); 2231_toolTip.Dispose();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
153_createNewLinkLabel.Dispose();
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
258_rtlLayoutGrip.Dispose(); 289_rtlLayoutGrip.Dispose();
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (5)
1895toolStripPanelCell.Dispose(); 1905toolTip.Dispose(); 1914Items[i].Dispose(); 1921_toolStripGrip?.Dispose(); 1923_toolStripOverflowButton?.Dispose();
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
465_control.Dispose();
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
369_dropDown.Dispose();
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
319_ensureMessageProcessingTimer.Dispose();
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
37DropDown.Dispose();
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.cs (1)
59_dropDown.Dispose();
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (2)
334Dispose(); 719Dispose();
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.cs (1)
71_mouseDownTimer.Dispose();
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
1563KeyboardToolTip.Dispose(); 1993_internalStateImageList?.Dispose(); 2035_internalStateImageList.Dispose();
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
383_timer.Dispose();
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
143_timer.Dispose();
System\Windows\Forms\Form.cs (7)
1116_ctlClient.Dispose(); 3197Dispose(); 3467MdiWindowListStrip.Dispose(); 3473MdiControlStrip.Dispose(); 3496ownedForms[i].Dispose(); 6246mdiControlStrip.Dispose(); 6718Dispose();
System\Windows\Forms\Input\MouseHoverTimer.cs (1)
47_mouseHoverTimer.Dispose();
System\Windows\Forms\MDI\MDIControlStrip.cs (2)
127_system.DropDown.Dispose(); 142_system.DropDown.Dispose();
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.BackgroundThread.cs (1)
80_dialog?.Dispose();
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1900timerRef.Dispose();
System\Windows\Forms\WindowsFormsSynchronizationContext.cs (1)
69control.Dispose();
System.Windows.Forms.Design (43)
System\ComponentModel\Design\CollectionEditor.cs (1)
286localCollectionForm.Dispose();
System\ComponentModel\Design\DesignerActionPanel.cs (1)
352_toolTip.Dispose();
System\ComponentModel\Design\DesignerActionUI.cs (1)
117_marshalingControl.Dispose();
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
145_panel.Dispose();
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
253dialog.Dispose();
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
178_adornerWindow.Dispose();
System\Windows\Forms\Design\ComponentTray.cs (1)
1520c.Dispose();
System\Windows\Forms\Design\ControlCommandSet.cs (2)
356_tabOrder.Dispose(); 930_tabOrder.Dispose();
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
1978imageList.Dispose(); 1984ImageList?.Dispose();
System\Windows\Forms\Design\DocumentDesigner.cs (4)
366_componentTray.Dispose(); 428_componentTray.Dispose(); 440_frame.Dispose(); 956_componentTray.Dispose();
System\Windows\Forms\Design\InheritanceUI.cs (1)
79_toolTip?.Dispose();
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
827_contextMenuRow?.Dispose(); 829_contextMenuCol?.Dispose();
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
76_toolStripAdornerWindow.Dispose();
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
1176_miniToolStrip.Dispose(); 1183_editorNode.Dispose(); 1190_toolStripContextMenu.Dispose();
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (2)
246_designMenu.Dispose(); 285_menuItem.Dispose();
System\Windows\Forms\Design\ToolStripItemBehavior.cs (3)
195_timer.Dispose(); 247_timer.Dispose(); 578_timer.Dispose();
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
492item.Dispose();
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (6)
451_commitedEditorNode.Dispose(); 649_commitedEditorNode.Dispose(); 1025_typeHereNode.Dispose(); 1038_commitedEditorNode.Dispose(); 2331_typeHereNode.Dispose(); 2363_commitedEditorNode.Dispose();
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
209_contextMenu?.Dispose();
System\Windows\Forms\Design\ToolStripTemplateNode.cs (7)
501oldContextMenu.Dispose(); 684_lastSelection.Dispose(); 706_centerLabel.Dispose(); 716_addItemButton.DropDown.Dispose(); 717_addItemButton.Dispose(); 730_miniToolStrip.Dispose(); 958_centerTextBox.Dispose();
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
617_treeView1.Dispose();
System.Windows.Forms.Design.Tests (23)
System\Windows\Forms\Design\ContextMenuStripActionListTests.cs (2)
49_toolStripDropDownMenu.Dispose(); 50_toolStripDropDown.Dispose();
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionTests.cs (1)
25_control.Dispose();
System\Windows\Forms\Design\FormatControlTests.cs (1)
10public void Dispose() => _formatControl.Dispose();
System\Windows\Forms\Design\FormatStringDialogTests.cs (2)
19public void Dispose() => _formatStringDialog.Dispose(); 27dialog.Dispose();
System\Windows\Forms\Design\ImageListActionListTests.cs (1)
27_imageList.Dispose();
System\Windows\Forms\Design\InheritanceUITests.cs (4)
32_sitedChildControl.Dispose(); 33_childControl.Dispose(); 34_control.Dispose(); 35_form.Dispose();
System\Windows\Forms\Design\ItemTypeToolStripMenuItemTests.cs (2)
57item.Dispose(); 63_item.Dispose();
System\Windows\Forms\Design\ListViewActionListTests.cs (1)
27_listView.Dispose();
System\Windows\Forms\Design\MaskDesignerDialogTests.cs (2)
23_maskedTextBox.Dispose(); 24_dialog.Dispose();
System\Windows\Forms\Design\MaskedTextBoxDesignerActionListTests.cs (1)
44_maskedTextBox.Dispose();
System\Windows\Forms\Design\RichTextBoxDesignerTests.cs (1)
21_richTextBox.Dispose();
System\Windows\Forms\Design\TextBoxBaseDesignerTests.cs (1)
30_textbox.Dispose();
System\Windows\Forms\Design\ToolStripActionListTests.cs (1)
48_toolStrip.Dispose();
System\Windows\Forms\Design\ToolStripContentPanelDesignerTests.cs (1)
25_toolStripContentPanel.Dispose();
System\Windows\Forms\Design\UpDownBaseDesignerTests.cs (1)
36_numericUpDown.Dispose();
TestControlDesigner.Mocks.cs (1)
41_control.Dispose();
System.Windows.Forms.Tests (382)
BindingNavigatorTests.cs (3)
141bindingSource.Dispose(); 158bindingSource.Dispose(); 183bindingSource1.Dispose();
LinkLabelTests.cs (1)
14public void Dispose() => _linkLabel.Dispose();
MaskedTextBoxTests.cs (1)
22_maskedTextBox.Dispose();
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (2)
144ownerControl.Dispose(); 175ownerControl.Dispose();
System\Windows\Forms\AccessibleObjects\ErrorProviderAccessibleObjectTests.cs (4)
52_errorProvider?.Dispose(); 53_control2?.Dispose(); 54_control1?.Dispose(); 55_form?.Dispose();
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (2)
206col.Dispose(); 230col.Dispose();
System\Windows\Forms\ApplicationContextTests.cs (1)
187mainForm.Dispose();
System\Windows\Forms\AxHostTests.cs (1)
3083control.Dispose();
System\Windows\Forms\AxSystemMonitorTests.cs (2)
71_control.Dispose(); 72_form.Dispose();
System\Windows\Forms\AxWebBrowserTests.cs (2)
140_control.Dispose(); 141_form.Dispose();
System\Windows\Forms\ButtonBaseTests.cs (13)
2526imageList1.Dispose(); 2532imageList1.Dispose(); 2558imageList1.Dispose(); 2567imageList1.Dispose(); 4575control.Dispose(); 4586control.Dispose(); 4627control.Dispose(); 4638control.Dispose(); 4649imageList.Dispose(); 4682control.Dispose(); 4693control.Dispose(); 4804imageList.Dispose(); 4937imageList.Dispose();
System\Windows\Forms\CheckedListBox.CheckedIndexCollectionTests.cs (1)
22_checkedListBox.Dispose();
System\Windows\Forms\CheckedListBox.CheckedItemCollectionTests.cs (1)
22_checkedListBox.Dispose();
System\Windows\Forms\ColumnHeaderTests.cs (4)
1572header.Dispose(); 1573header.Dispose(); 1582header.Dispose(); 1585header.Dispose();
System\Windows\Forms\ContainerControlTests.cs (1)
617control.Dispose();
System\Windows\Forms\ControlTests.ControlCollection.cs (2)
1138owner?.Dispose(); 1162control?.Dispose();
System\Windows\Forms\ControlTests.Handlers.cs (6)
123control.Dispose(); 318control.Dispose(); 623control.Dispose(); 1855control.Dispose(); 1950control.Dispose(); 5021control.Dispose();
System\Windows\Forms\ControlTests.Methods.cs (16)
603control.Dispose(); 763control.Dispose(); 990control.Dispose(); 1000control.Dispose(); 1041control.Dispose(); 1052control.Dispose(); 1099control.Dispose(); 1120control.Dispose(); 1168control.Dispose(); 1178control.Dispose(); 1223control.Dispose(); 1237control.Dispose(); 1264control.Dispose(); 1268control.Dispose(); 4968control.Dispose(); 5242control.Dispose();
System\Windows\Forms\ControlTests.Properties.cs (7)
1430control.Dispose(); 1801control.Dispose(); 2126control.Dispose(); 3580menu.Dispose(); 3598menu1.Dispose(); 5471control.Dispose(); 10264control.Dispose();
System\Windows\Forms\DataGridViewCellTests.cs (4)
356menu.Dispose(); 371menu1.Dispose(); 3514menu.Dispose(); 3551menu.Dispose();
System\Windows\Forms\DataGridViewColumnTests.cs (2)
588menu.Dispose(); 606menu1.Dispose();
System\Windows\Forms\DataGridViewLinkColumnTests.cs (1)
24_dataGridView.Dispose();
System\Windows\Forms\DataGridViewRowTests.cs (2)
237menu.Dispose(); 255menu1.Dispose();
System\Windows\Forms\DataGridViewTests.cs (29)
25public void Dispose() => _dataGridView.Dispose(); 355control.Dispose(); 426control.Dispose(); 479control.Dispose(); 652control.Dispose(); 724control.Dispose(); 775control.Dispose(); 1281control.Dispose(); 1354control.Dispose(); 1407control.Dispose(); 1589control.Dispose(); 1663control.Dispose(); 1716control.Dispose(); 2006control.Dispose(); 2054control.Dispose(); 2097control.Dispose(); 2211control.Dispose(); 2260control.Dispose(); 2305control.Dispose(); 2479control.Dispose(); 2527control.Dispose(); 2570control.Dispose(); 2692control.Dispose(); 2741control.Dispose(); 2786control.Dispose(); 2815bindingSource.Dispose(); 2831bindingSource.Dispose(); 2861bindingSource1.Dispose(); 4082dataGridView.Dispose();
System\Windows\Forms\DateTimePickerTests.cs (1)
18public void Dispose() => _dateTimePicker.Dispose();
System\Windows\Forms\DomainUpDownTests.cs (2)
24_control.Dispose(); 26_sub.Dispose();
System\Windows\Forms\ErrorProviderTests.cs (5)
898provider.Dispose(); 902provider.Dispose(); 911provider.Dispose(); 914provider.Dispose(); 1212control.Dispose();
System\Windows\Forms\FormTests.cs (3)
2635parent.Dispose(); 2636parent.Dispose(); 2664_parentForm?.Dispose();
System\Windows\Forms\ImageListTests.cs (11)
818list.Dispose(); 822list.Dispose(); 836list.Dispose(); 843list.Dispose(); 858list.Dispose(); 863list.Dispose(); 874list.Dispose(); 878list.Dispose(); 893list.Dispose(); 898list.Dispose(); 910list.Dispose();
System\Windows\Forms\LabelTests.cs (1)
699imageList.Dispose();
System\Windows\Forms\LayoutEventArgsTests.cs (1)
77panel.Dispose();
System\Windows\Forms\LinkCollectionTests.cs (1)
24_linkLabel.Dispose();
System\Windows\Forms\ListViewTests.cs (18)
1133imageList.Dispose(); 1785imageList1.Dispose(); 1791imageList1.Dispose(); 1822imageList1.Dispose(); 1831imageList1.Dispose(); 2728imageList1.Dispose(); 2734imageList1.Dispose(); 2764imageList1.Dispose(); 2773imageList1.Dispose(); 3444imageList1.Dispose(); 3450imageList1.Dispose(); 3480imageList1.Dispose(); 3489imageList1.Dispose(); 3966imageList1.Dispose(); 3972imageList1.Dispose(); 4005imageList1.Dispose(); 4014imageList1.Dispose(); 4935listView.Dispose();
System\Windows\Forms\MonthCalendarTests.cs (2)
1874control.Dispose(); 3895control.Dispose();
System\Windows\Forms\NotifyIconTests.cs (10)
182notifyIcon.Dispose(); 308notifyIcon.Dispose(); 442notifyIcon.Dispose(); 564notifyIcon.Dispose(); 726notifyIcon.Dispose(); 740notifyIcon.Dispose(); 785notifyIcon.Dispose(); 798notifyIcon.Dispose(); 887notifyIcon.Dispose(); 923notifyIcon.Dispose();
System\Windows\Forms\PictureBoxTests.cs (2)
1856pictureBox.Dispose(); 1857pictureBox.Dispose();
System\Windows\Forms\ProgressBarTests.cs (2)
1339control.Dispose(); 2482control.Dispose();
System\Windows\Forms\RichTextBoxTests.cs (40)
1020control.Dispose(); 1089control.Dispose(); 2396control.Dispose(); 2688control.Dispose(); 2696control.Dispose(); 2899control.Dispose(); 3260control.Dispose(); 3406control.Dispose(); 3506control.Dispose(); 3629control.Dispose(); 3713control.Dispose(); 3813control.Dispose(); 3901control.Dispose(); 4007control.Dispose(); 4102control.Dispose(); 4268control.Dispose(); 4363control.Dispose(); 4469control.Dispose(); 4553control.Dispose(); 4652control.Dispose(); 4808control.Dispose(); 4909control.Dispose(); 5028control.Dispose(); 5184control.Dispose(); 5267control.Dispose(); 5375control.Dispose(); 5429control.Dispose(); 5585control.Dispose(); 5669control.Dispose(); 5774control.Dispose(); 5857control.Dispose(); 5964control.Dispose(); 6018control.Dispose(); 6168control.Dispose(); 6255control.Dispose(); 6424control.Dispose(); 6556control.Dispose(); 7010control.Dispose(); 7610control.Dispose(); 7701control.Dispose();
System\Windows\Forms\StatusStripTests.cs (2)
925control.Dispose(); 936control.Dispose();
System\Windows\Forms\TabControlTests.cs (11)
780control.Dispose(); 1319imageList1.Dispose(); 1325imageList1.Dispose(); 1351imageList1.Dispose(); 1360imageList1.Dispose(); 1983control.Dispose(); 3579control.Dispose(); 3582imageList.Dispose(); 3595imageList.Dispose(); 3608imageList.Dispose(); 4607control.Dispose();
System\Windows\Forms\TimerTests.cs (6)
413timer.Dispose(); 417timer.Dispose(); 427timer.Dispose(); 431timer.Dispose(); 442timer.Dispose(); 446timer.Dispose();
System\Windows\Forms\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapterTests.cs (1)
15public void Dispose() => _comboBox.Dispose();
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
21_toolStripComboBox.Dispose();
System\Windows\Forms\ToolStripControlHostTests.cs (46)
158item.Dispose(); 188item.Dispose(); 218item.Dispose(); 257item.Dispose(); 323item.Dispose(); 351item.Dispose(); 382item.Dispose(); 391item.Dispose(); 429item.Dispose(); 440item.Dispose(); 470item.Dispose(); 508item.Dispose(); 725item.Dispose(); 753item.Dispose(); 843item.Dispose(); 928item.Dispose(); 938item.Dispose(); 948item.Dispose(); 989item.Dispose(); 1027item.Dispose(); 1067item.Dispose(); 1076item.Dispose(); 1142item.Dispose(); 1170item.Dispose(); 1201item.Dispose(); 1532item.Dispose(); 1548item.Dispose(); 1559item.Dispose(); 1674item.Dispose(); 1717item.Dispose(); 1749item.Dispose(); 2180item.Dispose(); 2230item.Dispose(); 2550item.Dispose(); 2593item.Dispose(); 2601item.Dispose(); 2703item.Dispose(); 2756item.Dispose(); 2794item.Dispose(); 3252item.Dispose(); 3274item.Dispose(); 4242item.Dispose(); 4302item.Dispose(); 4361item.Dispose(); 4413item.Dispose(); 4446item.Dispose();
System\Windows\Forms\ToolStripDropDownTests.cs (8)
3058control.Dispose(); 3070control.Dispose(); 3115control.Dispose(); 3128control.Dispose(); 3171control.Dispose(); 3183control.Dispose(); 3235control.Dispose(); 3255control.Dispose();
System\Windows\Forms\ToolStripItemTests.cs (10)
9854item.Dispose(); 9860item.Dispose(); 9890item.Dispose(); 9896item.Dispose(); 9928item.Dispose(); 9936item.Dispose(); 9970item.Dispose(); 9978item.Dispose(); 13428owner.Dispose(); 13454owner.Dispose();
System\Windows\Forms\ToolStripLabelTests.cs (1)
13public void Dispose() => _toolStripLabel.Dispose();
System\Windows\Forms\ToolStripPanel.ToolStripPanelRowCollectionTests.cs (2)
21public void Dispose() => _toolStripPanel.Dispose(); 31rows[i]?.Dispose();
System\Windows\Forms\ToolStripSplitButtonTests.cs (1)
19public void Dispose() => _toolStripSplitButton.Dispose();
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (1)
20public void Dispose() => _toolStrip.Dispose();
System\Windows\Forms\ToolStripStatusLabelTests.cs (1)
22_toolStripStatusLabel.Dispose();
System\Windows\Forms\ToolStripTests.cs (9)
4376control.Dispose(); 4388control.Dispose(); 4430control.Dispose(); 4442control.Dispose(); 4494control.Dispose(); 4514control.Dispose(); 6867control.Dispose(); 6881control.Dispose(); 7357listToolStripMenuItem.DropDownItems[listToolStripMenuItem.DropDownItems.Count - 1].Dispose();
System\Windows\Forms\ToolStripTextBoxTests.cs (2)
19_toolStripTextBox.Dispose(); 41control?.Dispose();
System\Windows\Forms\TreeNodeTests.cs (17)
547control.Dispose(); 685control.Dispose(); 952control.Dispose(); 1287control.Dispose(); 1561control.Dispose(); 1730control.Dispose(); 1814control.Dispose(); 1896control.Dispose(); 1991control.Dispose(); 2259control.Dispose(); 2652control.Dispose(); 3271control.Dispose(); 3545control.Dispose(); 3945control.Dispose(); 4317control.Dispose(); 4475control.Dispose(); 4766treeView.Dispose();
System\Windows\Forms\TreeViewTests.cs (7)
2571imageList1.Dispose(); 2576imageList1.Dispose(); 3225control.Dispose(); 4548imageList1.Dispose(); 4553imageList1.Dispose(); 6614control.Dispose(); 6800treeView.Dispose();
System\Windows\Forms\WebBrowserTests.cs (36)
245control.Dispose(); 331control.Dispose(); 481control.Dispose(); 549control.Dispose(); 598control.Dispose(); 666control.Dispose(); 834control.Dispose(); 903control.Dispose(); 970control.Dispose(); 1036control.Dispose(); 1145control.Dispose(); 1192control.Dispose(); 1632control.Dispose(); 1679control.Dispose(); 1763control.Dispose(); 1883control.Dispose(); 1949control.Dispose(); 2099control.Dispose(); 2541control.Dispose(); 2552control.Dispose(); 2596control.Dispose(); 2607control.Dispose(); 2970control.Dispose(); 3085control.Dispose(); 3122control.Dispose(); 3171control.Dispose(); 3473control.Dispose(); 3647control.Dispose(); 3924control.Dispose(); 4226control.Dispose(); 4264control.Dispose(); 4301control.Dispose(); 4338control.Dispose(); 4375control.Dispose(); 4412control.Dispose(); 4449control.Dispose();
TextBoxBaseTests.cs (10)
762control.Dispose(); 789control.Dispose(); 2574control.Dispose(); 2752control.Dispose(); 2794control.Dispose(); 2970control.Dispose(); 3131control.Dispose(); 3208control.Dispose(); 3589control.Dispose(); 3690control.Dispose();
ToolStripContainerTests.cs (1)
20_toolStripContainer.Dispose();
TrackBarTests.cs (2)
1705control.Dispose(); 2717control.Dispose();
System.Windows.Forms.UI.IntegrationTests (6)
AnchorLayoutTests.cs (2)
294button.Dispose(); 295form.Dispose();
Infra\ControlTestBase.cs (2)
326dialog.Dispose(); 372dialog.Dispose();
PropertyGridTests.cs (2)
30_form.Dispose(); 31_propertyGrid.Dispose();
Templates.Blazor.Tests (2)
src\Shared\Process\ProcessEx.cs (2)
220_process.Dispose(); 257_process.Dispose();
Templates.Blazor.WebAssembly.Auth.Tests (3)
src\Shared\E2ETesting\SauceConnectServer.cs (1)
215process?.Dispose();
src\Shared\Process\ProcessEx.cs (2)
220_process.Dispose(); 257_process.Dispose();
Templates.Blazor.WebAssembly.Tests (3)
src\Shared\E2ETesting\SauceConnectServer.cs (1)
215process?.Dispose();
src\Shared\Process\ProcessEx.cs (2)
220_process.Dispose(); 257_process.Dispose();
Templates.Mvc.Tests (3)
src\Shared\E2ETesting\SauceConnectServer.cs (1)
215process?.Dispose();
src\Shared\Process\ProcessEx.cs (2)
220_process.Dispose(); 257_process.Dispose();
Templates.Tests (3)
src\Shared\E2ETesting\SauceConnectServer.cs (1)
215process?.Dispose();
src\Shared\Process\ProcessEx.cs (2)
220_process.Dispose(); 257_process.Dispose();
WindowsFormsIntegration (3)
System\Windows\Integration\WindowsFormsHost.cs (3)
517HostContainerInternal.Dispose(); 547_hostContainerInternal.Dispose(); 554Child.Dispose();
WinFormsControlsTest (2)
MediaPlayer.Designer.cs (1)
24axWindowsMediaPlayer1.Dispose();
TaskDialogSamples.cs (1)
445Process.Start(psi)?.Dispose();