131 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.AspNetCore.Server.HttpSys (2)
NativeInterop\SafeLibraryHandle.cs (1)
67protected override bool ReleaseHandle()
NativeInterop\SafeNativeOverlapped.cs (1)
34protected override bool ReleaseHandle()
Microsoft.AspNetCore.Server.IIS (1)
Core\NativeSafeHandle.cs (1)
21protected override bool ReleaseHandle()
Microsoft.Build (2)
InprocTrackingNativeMethods.cs (1)
297protected override bool ReleaseHandle()
SafeFileHandle.cs (1)
24protected override bool ReleaseHandle()
Microsoft.Build.Engine.OM.UnitTests (1)
SafeFileHandle.cs (1)
24protected override bool ReleaseHandle()
Microsoft.Build.Framework (1)
NativeMethods.cs (1)
277protected override bool ReleaseHandle()
Microsoft.Build.Tasks.Core (1)
SafeFileHandle.cs (1)
24protected override bool ReleaseHandle()
Microsoft.Build.Utilities.Core (2)
InprocTrackingNativeMethods.cs (1)
297protected override bool ReleaseHandle()
SafeFileHandle.cs (1)
24protected override bool ReleaseHandle()
Microsoft.CodeAnalysis.Workspaces (3)
Storage\SQLite\Interop\SafeSqliteBlobHandle.cs (1)
41protected override bool ReleaseHandle()
Storage\SQLite\Interop\SafeSqliteHandle.cs (1)
38protected override bool ReleaseHandle()
Storage\SQLite\Interop\SafeSqliteStatementHandle.cs (1)
41protected 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)
artifacts\obj\Microsoft.Win32.Registry\Debug\net10.0\Microsoft.Win32.Registry.notsupported.cs (1)
121protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
MSBuild (1)
SafeFileHandle.cs (1)
24protected override bool ReleaseHandle()
MSBuildTaskHost (1)
NativeMethods.cs (1)
277protected 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)
1359protected override bool ReleaseHandle() 1401protected override bool ReleaseHandle() 1513protected override bool ReleaseHandle() 1523protected override bool ReleaseHandle() 1589protected 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.Diagnostics.Process (1)
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (1)
40protected override bool ReleaseHandle()
System.IO.Compression (1)
src\libraries\Common\src\System\IO\Compression\ZLibNative.cs (1)
185protected override bool ReleaseHandle() =>
System.IO.Compression.Brotli (2)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeBrotliHandle.cs (2)
13protected override bool ReleaseHandle() 26protected 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.Net.Quic (11)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Stack.cs (1)
71protected override bool ReleaseHandle()
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509StoreCtx.cs (1)
84protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\Asn1SafeHandles.Unix.cs (2)
16protected override bool ReleaseHandle() 36protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeBioHandle.Unix.cs (1)
20protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeInteriorHandle.cs (1)
19protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (3)
35protected override bool ReleaseHandle() 55protected override bool ReleaseHandle() 75protected override bool ReleaseHandle()
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\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OCSP.cs (2)
105protected override bool ReleaseHandle() 120protected override bool ReleaseHandle()
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.SslCtx.cs (1)
128protected override bool ReleaseHandle()
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Stack.cs (1)
71protected override bool ReleaseHandle()
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509StoreCtx.cs (1)
84protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\Asn1SafeHandles.Unix.cs (2)
16protected override bool ReleaseHandle() 36protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\GssSafeHandles.cs (3)
55protected override bool ReleaseHandle() 143protected override bool ReleaseHandle() 168protected override unsafe bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeBioHandle.Unix.cs (1)
20protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeInteriorHandle.cs (1)
19protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (3)
35protected override bool ReleaseHandle() 55protected override bool ReleaseHandle() 75protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\X509ExtensionSafeHandles.Unix.cs (1)
17protected override bool ReleaseHandle()
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\libraries\Common\src\System\IO\Compression\ZLibNative.cs (1)
185protected override bool ReleaseHandle() =>
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (1)
130protected override bool ReleaseHandle()
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeWaitHandle.Windows.cs (1)
8protected override bool ReleaseHandle() => Interop.Kernel32.CloseHandle(handle);
src\libraries\System.Private.CoreLib\src\System\Security\SecureString.cs (1)
462protected override unsafe bool ReleaseHandle()
System.Security.Cryptography (27)
Microsoft\Win32\SafeHandles\SafePasswordHandle.cs (1)
75protected override bool ReleaseHandle()
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OCSP.cs (2)
105protected override bool ReleaseHandle() 120protected override bool ReleaseHandle()
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Stack.cs (1)
71protected override bool ReleaseHandle()
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509StoreCtx.cs (1)
84protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\Asn1SafeHandles.Unix.cs (2)
16protected override bool ReleaseHandle() 36protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeBignumHandle.Unix.cs (1)
22protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeBioHandle.Unix.cs (1)
20protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeDsaHandle.Unix.cs (1)
18protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeEcKeyHandle.Unix.cs (1)
18protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeEvpCipherCtxHandle.Unix.cs (1)
17protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeEvpKdfHandle.Unix.cs (1)
16protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeEvpMacCtxHandle.Unix.cs (1)
16protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeEvpMacHandle.Unix.cs (1)
16protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeEvpMdCtxHandle.Unix.cs (1)
17protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeHmacCtxHandle.Unix.cs (1)
16protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeInteriorHandle.cs (1)
19protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafePkcs7Handle.Unix.cs (1)
16protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509ChainHandle.cs (1)
23protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (3)
35protected override bool ReleaseHandle() 55protected override bool ReleaseHandle() 75protected override bool ReleaseHandle()
src\libraries\Common\src\Microsoft\Win32\SafeHandles\X509ExtensionSafeHandles.Unix.cs (1)
17protected override bool ReleaseHandle()
System\Security\Cryptography\Cng.NotSupported.cs (1)
26protected override bool ReleaseHandle() => false;
System\Security\Cryptography\FixedMemoryKeyBox.cs (1)
22protected override bool ReleaseHandle()
System\Security\Cryptography\SafeEvpPKeyHandle.OpenSsl.cs (1)
46protected override bool ReleaseHandle()
System.Security.Principal.Windows (1)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (1)
15protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
System.Text.Encoding.CodePages (1)
Microsoft\Win32\SafeHandles\SafeAllocHHandle.cs (1)
24protected 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\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\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (1)
267ReleaseHandle();