Implemented interface member:
method
Dispose
System.IDisposable.Dispose()
95 references to Dispose
Infrastructure.Common (4)
SafeKeychainHandle.cs (4)
57keychain.Dispose(); 72keychain.Dispose(); 83keychain.Dispose(); 98handle.Dispose();
Microsoft.AspNetCore.Cryptography.Internal (1)
UnsafeNativeMethods.cs (1)
447newHandle.Dispose();
Microsoft.AspNetCore.DataProtection (4)
Cng\DpapiSecretSerializerHelper.cs (1)
355unprotectedDataHandle.Dispose();
Secret.cs (1)
116_localAllocHandle.Dispose();
SP800_108\Win7SP800_108_CTR_HMACSHA512Provider.cs (1)
77_hashHandle.Dispose();
SP800_108\Win8SP800_108_CTR_HMACSHA512Provider.cs (1)
70_keyHandle.Dispose();
Microsoft.AspNetCore.Server.HttpSys (5)
NativeInterop\RequestQueue.cs (1)
186Handle.Dispose();
RequestProcessing\ClientCertLoader.cs (2)
116_overlapped!.Dispose(); 321_overlapped.Dispose();
RequestProcessing\RequestStreamAsyncResult.cs (1)
152_overlapped?.Dispose();
RequestProcessing\ResponseStreamAsyncResult.cs (1)
335_overlapped?.Dispose();
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.cs (1)
890_requestNativeHandle.Dispose();
Core\IISNativeApplication.cs (1)
42_nativeApplication.Dispose();
Microsoft.Build.Framework (2)
NativeMethods.cs (2)
1364childProcessInfo.Value.Dispose(); 1485childHandle.Dispose();
Microsoft.CodeAnalysis.Workspaces (4)
Storage\SQLite\v2\Interop\SqlConnection.cs (3)
104handle.Dispose(); 148handle.Dispose(); 202handle.Dispose();
Storage\SQLite\v2\Interop\SqlStatement.cs (1)
32=> statement.Dispose();
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\Interop\JobHandleWrapper.cs (1)
24_winJobHandle.Dispose();
Microsoft.ML.LightGbm (2)
WrappedLightGbmBooster.cs (1)
320Handle?.Dispose();
WrappedLightGbmDataset.cs (1)
106_handle?.Dispose();
Microsoft.ML.Transforms (1)
Text\LdaSingleBox.cs (1)
371_engine.Dispose();
PresentationCore (8)
MS\Internal\FontCache\FontCacheUtil.cs (2)
797_viewHandle?.Dispose(); 798_mappingHandle?.Dispose();
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
267_hContext.Dispose();
System\Windows\Input\Cursor.cs (1)
121_cursorHandle.Dispose();
System\Windows\Media\ColorContext.cs (1)
112_colorContextHandle.Dispose();
System\Windows\Media\Imaging\BitmapMetadata.cs (1)
305pIMetadataReader?.Dispose();
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
315_pBackBufferLock.Dispose(); 627_pDoubleBufferedBitmap.Dispose();
PresentationFramework (11)
MS\Internal\AppModel\IconHelper.cs (2)
264colorBitmap.Dispose(); 270maskBitmap.Dispose();
System\Windows\Controls\Primitives\Popup.cs (2)
2847iconInfo.hbmColor.Dispose(); 2848iconInfo.hbmMask.Dispose();
System\Windows\Standard\NativeMethods.cs (3)
1432dc.Dispose(); 1463dc.Dispose(); 1542safeHandle.Dispose();
System\Windows\Window.cs (4)
4139_currentLargeIconHandle.Dispose(); 4144_currentSmallIconHandle.Dispose(); 6605hicon.Dispose(); 6817icon.Dispose();
ReachFramework (8)
MS\Internal\Printing\Configuration\COMPSTUISRID.cs (1)
66this._compstuiHandle.Dispose();
MS\Internal\Printing\Configuration\HGlobalBuffer.cs (1)
51handle?.Dispose();
MS\Internal\Printing\Configuration\UnsafeNativeMethods.cs (1)
53handle.Dispose();
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (1)
40this._devMode.Dispose();
PrintConfig\FallbackPTProvider.cs (2)
352_deviceHandle?.Dispose(); 661_deviceHandle.Dispose();
PrintConfig\PTProvider.cs (2)
515_providerHandle.Dispose(); 539_providerHandle.Dispose();
System.Data.Odbc (11)
System\Data\Odbc\OdbcCommand.cs (8)
690parameterBuffer?.Dispose(); 1046_dataReaderBuf.Dispose(); 1053buffer?.Dispose(); 1064handle.Dispose(); 1076handle.Dispose(); 1086handle.Dispose(); 1109handle.Dispose(); 1132handle.Dispose();
System\Data\Odbc\OdbcConnection.cs (1)
377connectionHandle.Dispose();
System\Data\Odbc\OdbcEnvironment.cs (1)
36((OdbcEnvironmentHandle)globalEnvironmentHandle).Dispose(); // internally refcounted so will happen correctly
System\Data\Odbc\OdbcEnvironmentHandle.cs (1)
41Dispose();
System.Formats.Tar (1)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
100handle.Dispose();
System.IO.Compression.ZipFile (1)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
100handle.Dispose();
System.IO.FileSystem.Watcher (4)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
100handle.Dispose();
System\IO\FileSystemWatcher.Linux.cs (3)
40handle.Dispose(); 82handle.Dispose(); 793_inotifyHandle.Dispose();
System.IO.Ports (4)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
100handle.Dispose();
System\IO\Ports\SafeSerialDeviceHandle.Unix.cs (1)
26handle.Dispose();
System\IO\Ports\SerialStream.Unix.cs (2)
665tempHandle.Dispose(); 729_handle.Dispose();
System.Private.CoreLib (17)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
100handle.Dispose();
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (4)
102handle.Dispose(); 214safeFileHandle.Dispose(); 220safeFileHandle?.Dispose(); 438Dispose();
src\libraries\System.Private.CoreLib\src\System\IO\File.cs (2)
1182sfh.Dispose(); 1254sfh.Dispose();
src\libraries\System.Private.CoreLib\src\System\IO\Strategies\OSFileStreamStrategy.cs (3)
63_fileHandle.Dispose(); 117_fileHandle.Dispose(); 129_fileHandle.Dispose();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\SafeHandleMarshaller.cs (2)
142_newHandle.Dispose(); 194_newHandle!.Dispose();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (1)
104public void Close() => Dispose();
src\libraries\System.Private.CoreLib\src\System\Security\SecureString.cs (2)
92oldBuffer.Dispose(); 165_buffer.Dispose();
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolBoundHandle.Unix.cs (1)
72/// it remains the responsibility of the caller to call <see cref="SafeHandle.Dispose()"/>.
src\System\Threading\Mutex.CoreCLR.Unix.cs (1)
90myHandle.Dispose();
UIAutomationClient (2)
MS\Internal\Automation\ClientEventManager.cs (2)
174ec.EventHandle.Dispose(); // Calls UiaCoreApi.UiaRemoveEvent 307ec.EventHandle.Dispose(); // Calls RemoveEvent
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\CommonGetThemePartSize.cs (1)
34_hTheme.Dispose();
UIAutomationTypes (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsOther.cs (1)
535lpSecurityDescriptor.Dispose();