66 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.Framework (1)
NativeMethods.cs (1)
277protected 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); }
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)
artifacts\obj\System.Diagnostics.Process\Debug\net10.0\System.Diagnostics.Process.notsupported.cs (1)
13protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.Process_PlatformNotSupported); }
System.IO.MemoryMappedFiles (2)
artifacts\obj\System.IO.MemoryMappedFiles\Debug\net10.0\System.IO.MemoryMappedFiles.notsupported.cs (2)
13protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_MemoryMappedFiles); } 18protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_MemoryMappedFiles); }
System.IO.Pipes (1)
artifacts\obj\System.IO.Pipes\Debug\net10.0\System.IO.Pipes.notsupported.cs (1)
14protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported); }
System.IO.Ports (1)
System\IO\Ports\SafeSerialDeviceHandle.Unix.cs (1)
37protected override bool ReleaseHandle()
System.Net.Sockets (1)
artifacts\obj\System.Net.Sockets\Debug\net10.0\System.Net.Sockets.notsupported.cs (1)
230protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (1)
126protected 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 (3)
artifacts\obj\System.Security.Cryptography\Debug\net10.0\System.Security.Cryptography.notsupported.cs (3)
15protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 42protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 2769protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); }
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();