158 overrides of ReleaseHandle
Infrastructure.Common (1)
SafeKeychainHandle.cs (1)
39protected override bool ReleaseHandle()
Microsoft.AspNetCore.Cryptography.Internal (6)
SafeHandles\BCryptAlgorithmHandle.cs (1)
154protected override bool ReleaseHandle()
SafeHandles\BCryptHashHandle.cs (1)
54protected override bool ReleaseHandle()
SafeHandles\BCryptKeyHandle.cs (1)
14protected override bool ReleaseHandle()
SafeHandles\LocalAllocHandle.cs (1)
19protected override bool ReleaseHandle()
SafeHandles\NCryptDescriptorHandle.cs (1)
37protected override bool ReleaseHandle()
SafeHandles\SafeLibraryHandle.cs (1)
122protected override bool ReleaseHandle()
Microsoft.Build.Framework (1)
FileSystem\SafeFileHandle.cs (1)
23protected override bool ReleaseHandle()
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\Interop\JobObjectInfo.cs (1)
288protected override bool ReleaseHandle()
Microsoft.ML.LightGbm (2)
WrappedLightGbmInterface.cs (2)
77protected override bool ReleaseHandle() 172protected override bool ReleaseHandle()
Microsoft.ML.Transforms (1)
Text\LdaSingleBox.cs (1)
25protected override bool ReleaseHandle()
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\NativeTypes.vb (1)
38Protected Overrides Function ReleaseHandle() As Boolean
Microsoft.Win32.Registry (1)
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeRegistryHandle.cs (1)
36protected override bool ReleaseHandle() =>
Microsoft.Win32.SystemEvents (1)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs (1)
17protected override bool ReleaseHandle()
NuGet.Packaging (2)
Signing\Cms\NativeMethods.cs (2)
152protected override bool ReleaseHandle() 166protected override bool ReleaseHandle()
PresentationCore (6)
MS\Win32\UnsafeNativeMethodsTablet.cs (2)
88protected override bool ReleaseHandle() 123protected override bool ReleaseHandle()
System\Windows\Media\ColorContextHelper.cs (1)
34protected override bool ReleaseHandle()
System\Windows\Media\ColorTransformHelper.cs (1)
33protected override bool ReleaseHandle()
System\Windows\Media\SafeMILHandle.cs (1)
61protected override bool ReleaseHandle()
System\Windows\Media\SafeReversePInvokeHandle.cs (1)
41protected override bool ReleaseHandle()
PresentationFramework (5)
System\Windows\Standard\NativeMethods.cs (5)
1361protected override bool ReleaseHandle() 1403protected override bool ReleaseHandle() 1515protected override bool ReleaseHandle() 1525protected override bool ReleaseHandle() 1591protected override bool ReleaseHandle()
ReachFramework (3)
MS\Internal\Printing\Configuration\SafeModuleHandle.cs (1)
25protected override bool ReleaseHandle()
MS\Internal\Printing\Configuration\SafeWinSpoolPrinterHandle.cs (1)
32protected override bool ReleaseHandle()
PrintConfig\PTProvider.cs (1)
66protected override bool ReleaseHandle()
System.Data.Odbc (2)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
371protected override bool ReleaseHandle()
System\Data\Odbc\OdbcHandle.cs (1)
135protected override bool ReleaseHandle()
System.Data.OleDb (5)
DbPropSet.cs (1)
129protected override bool ReleaseHandle()
PropertyInfoSet.cs (1)
109protected override bool ReleaseHandle()
SafeHandles.cs (1)
63protected override bool ReleaseHandle()
System\Data\ProviderBase\DbBuffer.cs (1)
344protected override unsafe bool ReleaseHandle()
System\Data\ProviderBase\WrappedIUnknown.cs (1)
67protected override bool ReleaseHandle()
System.Diagnostics.EventLog (6)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs (1)
17protected override bool ReleaseHandle()
System\Diagnostics\Reader\CoTaskMemSafeHandle.cs (1)
36protected override bool ReleaseHandle()
System\Diagnostics\Reader\CoTaskMemUnicodeSafeHandle.cs (1)
42protected override bool ReleaseHandle()
System\Diagnostics\Reader\EventLogHandle.cs (1)
33protected override bool ReleaseHandle()
System\Diagnostics\SafeEventLogReadHandle.cs (1)
10protected override bool ReleaseHandle()
System\Diagnostics\SafeEventLogWriteHandle.cs (1)
11protected override bool ReleaseHandle()
System.Diagnostics.PerformanceCounter (2)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafePerfProviderHandle.cs (1)
14protected override bool ReleaseHandle()
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeRegistryHandle.cs (1)
36protected override bool ReleaseHandle() =>
System.Diagnostics.Process (1)
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (1)
67protected override bool ReleaseHandle()
System.DirectoryServices (4)
src\runtime\src\libraries\Common\src\Interop\Windows\Secur32\Interop.LsaLogonProcessSafeHandle.cs (1)
20protected override bool ReleaseHandle() => LsaDeregisterLogonProcess(handle) == 0;
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs (1)
17protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLsaPolicyHandle.cs (1)
18protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeTokenHandle.cs (1)
33protected override bool ReleaseHandle()
System.DirectoryServices.AccountManagement (4)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLsaMemoryHandle.cs (1)
19protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLsaPolicyHandle.cs (1)
18protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeTokenHandle.cs (1)
33protected override bool ReleaseHandle()
System\DirectoryServices\AccountManagement\AuthZSet.cs (1)
537protected override bool ReleaseHandle()
System.DirectoryServices.Protocols (3)
System\DirectoryServices\Protocols\Interop\SafeHandles.cs (1)
18protected override bool ReleaseHandle()
System\DirectoryServices\Protocols\Interop\SafeHandles.Linux.cs (2)
39protected override bool ReleaseHandle() 79protected override bool ReleaseHandle()
System.Drawing.Common (1)
System\Drawing\Printing\PrintController.SafeDeviceModeHandle.cs (1)
32protected override bool ReleaseHandle()
System.IO.Compression (5)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeZstdHandle.cs (4)
18protected override bool ReleaseHandle() 93protected override bool ReleaseHandle() 168protected override bool ReleaseHandle() 184protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\System\IO\Compression\ZLibNative.cs (1)
257protected override bool ReleaseHandle() =>
System.IO.Compression.Brotli (2)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeBrotliHandle.cs (2)
13protected override bool ReleaseHandle() 26protected override bool ReleaseHandle()
System.IO.FileSystem.AccessControl (1)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeFindHandle.Windows.cs (1)
13protected override bool ReleaseHandle()
System.IO.MemoryMappedFiles (2)
Microsoft\Win32\SafeMemoryMappedFileHandle.Unix.cs (1)
70protected override bool ReleaseHandle()
Microsoft\Win32\SafeMemoryMappedViewHandle.Unix.cs (1)
16protected override bool ReleaseHandle()
System.IO.Pipes (1)
Microsoft\Win32\SafeHandles\SafePipeHandle.Unix.cs (1)
50protected override bool ReleaseHandle()
System.IO.Ports (1)
System\IO\Ports\SafeSerialDeviceHandle.Unix.cs (1)
37protected override bool ReleaseHandle()
System.Management (1)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs (1)
17protected override bool ReleaseHandle()
System.Net.Http.WinHttpHandler (2)
src\runtime\src\libraries\Common\src\Interop\Windows\WinHttp\Interop.SafeWinHttpHandle.cs (1)
48protected override bool ReleaseHandle()
System\Net\Http\WinHttpChannelBinding.cs (1)
68protected override bool ReleaseHandle()
System.Net.Quic (11)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Stack.cs (1)
71protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509StoreCtx.cs (1)
84protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\Asn1SafeHandles.Unix.cs (2)
16protected override bool ReleaseHandle() 36protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeBioHandle.Unix.cs (1)
20protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeInteriorHandle.cs (1)
19protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (3)
35protected override bool ReleaseHandle() 55protected override bool ReleaseHandle() 75protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\X509ExtensionSafeHandles.Unix.cs (1)
17protected override bool ReleaseHandle()
System\Net\Quic\Internal\MsQuicSafeHandle.cs (1)
59protected override bool ReleaseHandle()
System.Net.Security (18)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OCSP.cs (2)
105protected override bool ReleaseHandle() 120protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.SslCtx.cs (1)
138protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Stack.cs (1)
71protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509StoreCtx.cs (1)
84protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\Asn1SafeHandles.Unix.cs (2)
16protected override bool ReleaseHandle() 36protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\GssSafeHandles.cs (3)
55protected override bool ReleaseHandle() 143protected override bool ReleaseHandle() 168protected override unsafe bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeBioHandle.Unix.cs (1)
20protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeInteriorHandle.cs (1)
19protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (3)
35protected override bool ReleaseHandle() 55protected override bool ReleaseHandle() 75protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\X509ExtensionSafeHandles.Unix.cs (1)
17protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\System\Net\Security\Unix\SafeDeleteContext.cs (1)
29protected override bool ReleaseHandle()
System\Net\Security\Pal.Managed\SafeChannelBindingHandle.cs (1)
61protected override bool ReleaseHandle()
System.Net.Sockets (1)
System\Net\Sockets\SafeSocketHandle.cs (1)
75protected override bool ReleaseHandle()
System.Net.WebSockets (1)
src\runtime\src\libraries\Common\src\System\IO\Compression\ZLibNative.cs (1)
257protected override bool ReleaseHandle() =>
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (1)
145protected override bool ReleaseHandle()
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeWaitHandle.Unix.cs (1)
10protected override bool ReleaseHandle()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecureString.cs (1)
465protected override unsafe bool ReleaseHandle()
System.Security.AccessControl (1)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeTokenHandle.cs (1)
33protected override bool ReleaseHandle()
System.Security.Cryptography (15)
Microsoft\Win32\SafeHandles\NCryptSafeHandles.cs (1)
311protected override bool ReleaseHandle()
Microsoft\Win32\SafeHandles\SafePasswordHandle.cs (1)
75protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\SafeHashHandle.cs (1)
51protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\SafeKeyHandle.cs (1)
86protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\SafeProvHandle.cs (1)
103protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeBCryptHandle.cs (1)
27protected abstract override bool ReleaseHandle();
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeCertContextHandle.cs (1)
35protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeCertStoreHandle.cs (1)
11protected sealed override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeChainEngineHandle.cs (1)
27protected sealed override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeCryptMsgHandle.cs (1)
11protected sealed override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeUnicodeStringHandle.cs (1)
52protected sealed override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509ChainHandle.cs (1)
23protected override bool ReleaseHandle()
System\Security\Cryptography\FixedMemoryKeyBox.cs (1)
22protected override bool ReleaseHandle()
System\Security\Cryptography\OpenSsl.NotSupported.cs (1)
292protected override bool ReleaseHandle() => false;
System\Security\Cryptography\X509Certificates\SafeLocalAllocHandle.cs (1)
21protected sealed override bool ReleaseHandle()
System.Security.Cryptography.Pkcs (7)
Microsoft\Win32\SafeHandles\SafeCertContextHandle.cs (1)
29protected sealed override bool ReleaseHandle()
Microsoft\Win32\SafeHandles\SafeCryptMsgHandle.cs (1)
22protected sealed override bool ReleaseHandle()
Microsoft\Win32\SafeHandles\SafeHeapAllocHandle.cs (1)
37protected sealed override bool ReleaseHandle()
Microsoft\Win32\SafeHandles\SafeProvOrNCryptKeyHandleUwp.cs (1)
37protected sealed override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\SafeHashHandle.cs (1)
51protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\SafeKeyHandle.cs (1)
86protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\SafeProvHandle.cs (1)
103protected override bool ReleaseHandle()
System.Security.Principal.Windows (6)
Microsoft\Win32\SafeHandles\SafeAccessTokenHandle.cs (1)
39protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLocalAllocHandle.cs (1)
37protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLsaHandle.cs (1)
17protected sealed override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLsaMemoryHandle.cs (1)
19protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLsaPolicyHandle.cs (1)
18protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLsaReturnBufferHandle.cs (1)
20protected override bool ReleaseHandle()
System.ServiceProcess.ServiceController (1)
Microsoft\Win32\SafeHandles\SafeServiceHandle.cs (1)
28protected override bool ReleaseHandle()
System.Speech (1)
Internal\HGlobalSafeHandle.cs (1)
74protected override bool ReleaseHandle()
System.Text.Encoding.CodePages (1)
Microsoft\Win32\SafeHandles\SafeAllocHHandle.cs (1)
24protected override bool ReleaseHandle()
System.Windows.Extensions (2)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeCertContextHandle.cs (1)
35protected override bool ReleaseHandle()
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeCertStoreHandle.cs (1)
11protected sealed override bool ReleaseHandle()
System.Windows.Forms.Primitives (1)
Microsoft\Win32\SafeHandles\CoTaskMemSafeHandle.cs (1)
16protected override bool ReleaseHandle()
UIAutomationClient (6)
MS\Internal\Automation\SafeHandles.cs (3)
31protected override bool ReleaseHandle() 54protected override bool ReleaseHandle() 74protected override bool ReleaseHandle()
MS\Internal\Automation\SafeProcessHandle.cs (1)
31protected override bool ReleaseHandle()
System\Windows\Automation\Condition.cs (1)
26protected override bool ReleaseHandle()
System\Windows\Automation\Text\TextRange.cs (1)
32protected override bool ReleaseHandle()
UIAutomationClientSideProviders (4)
MS\Internal\AutomationProxies\CommonRemoteMemoryBlock.cs (1)
52protected override bool ReleaseHandle()
MS\Internal\AutomationProxies\SafeCoTaskMem.cs (1)
32protected override bool ReleaseHandle()
MS\Internal\AutomationProxies\SafeProcessHandle.cs (1)
42protected override bool ReleaseHandle()
MS\Internal\AutomationProxies\SafeThemeHandle.cs (1)
26protected override bool ReleaseHandle()
UIAutomationTypes (4)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsOther.cs (4)
237protected override bool ReleaseHandle() 262protected override bool ReleaseHandle() 287protected override bool ReleaseHandle() 559 protected override bool ReleaseHandle()
WindowsFormsIntegration (1)
MS\Win32\DCSafeHandle.cs (1)
12protected override bool ReleaseHandle()
1 reference to ReleaseHandle
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (1)
260ReleaseHandle();