74 references to
Microsoft.AspNetCore.Cryptography.Internal (4)
SafeHandles\BCryptHandle.cs (1)
11: base(ownsHandle: true)
SafeHandles\LocalAllocHandle.cs (1)
16: base(ownsHandle: true) { }
SafeHandles\NCryptDescriptorHandle.cs (1)
12: base(ownsHandle: true)
SafeHandles\SafeLibraryHandle.cs (1)
20: base(ownsHandle: true)
Microsoft.AspNetCore.Server.HttpSys (1)
NativeInterop\SafeLibraryHandle.cs (1)
17: base(ownsHandle: true)
Microsoft.Build.Framework (1)
NativeMethods.cs (1)
272private SafeProcessHandle() : base(true)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\Interop\JobObjectInfo.cs (1)
220: base(true)
Microsoft.ML.LightGbm (2)
WrappedLightGbmInterface.cs (2)
73: base(true) 168: base(true)
Microsoft.ML.Transforms (1)
Text\LdaSingleBox.cs (1)
21: base(true)
Microsoft.Win32.Registry (2)
artifacts\obj\Microsoft.Win32.Registry\Debug\net11.0\Microsoft.Win32.Registry.notsupported.cs (2)
119public SafeRegistryHandle() : base (default(bool)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); } 120public SafeRegistryHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base (default(bool)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
PresentationCore (8)
System\Windows\Media\ColorContextHelper.cs (2)
21: base(true) 29: base(true)
System\Windows\Media\ColorTransformHelper.cs (2)
20: base(true) 28: base(true)
System\Windows\Media\SafeMILHandle.cs (2)
23internal SafeMILHandle() : base(true) 31internal SafeMILHandle(IntPtr handle) : base(true)
System\Windows\Media\SafeReversePInvokeHandle.cs (2)
24internal SafeReversePInvokeWrapper() : base(true) 32internal SafeReversePInvokeWrapper(IntPtr delegatePtr) : base(true)
PresentationFramework (5)
System\Windows\Standard\NativeMethods.cs (5)
1359private SafeFindHandle() : base(true) { } 1401private SafeDC() : base(true) { } 1513private SafeHBITMAP() : base(true) { } 1523private SafeGdiplusStartupToken() : base(true) { } 1556: base(true)
ReachFramework (1)
MS\Internal\Printing\Configuration\SafeModuleHandle.cs (1)
21: base(true)
System.Diagnostics.Process (1)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (1)
41: base(ownsHandle)
System.DirectoryServices.Protocols (6)
System\DirectoryServices\Protocols\Interop\SafeHandles.cs (1)
13internal HGlobalMemHandle(IntPtr value) : base(true)
System\DirectoryServices\Protocols\Interop\SafeHandles.Linux.cs (5)
13: base(true) 20: base(true) 26internal ConnectionHandle(IntPtr value, bool disposeHandle) : base(true) 54public SafeBerHandle() : base(true) 63internal SafeBerHandle(BerVal value) : base(true)
System.IO.MemoryMappedFiles (2)
Microsoft\Win32\SafeMemoryMappedFileHandle.cs (1)
14: base(true)
Microsoft\Win32\SafeMemoryMappedFileHandle.Unix.cs (1)
42: base(ownsHandle: true)
System.IO.Pipes (2)
Microsoft\Win32\SafeHandles\SafePipeHandle.cs (1)
26: base(ownsHandle)
Microsoft\Win32\SafeHandles\SafePipeHandle.Unix.cs (1)
29internal SafePipeHandle(Socket namedPipeSocket) : base(ownsHandle: true)
System.Net.Http (3)
src\libraries\Common\src\System\Net\DebugSafeHandle.cs (2)
17protected DebugSafeHandle(bool ownsHandle) : base(ownsHandle) 22protected DebugSafeHandle(IntPtr invalidValue, bool ownsHandle) : base(ownsHandle)
src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (1)
17protected DebugSafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle) : base(ownsHandle)
System.Net.Primitives (2)
System\Security\Authentication\ExtendedProtection\ChannelBinding.cs (2)
12: base(true) 17: base(ownsHandle)
System.Net.Security (5)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OCSP.cs (2)
101: base(true) 116: base(true)
src\libraries\Common\src\System\Net\DebugSafeHandle.cs (2)
17protected DebugSafeHandle(bool ownsHandle) : base(ownsHandle) 22protected DebugSafeHandle(IntPtr invalidValue, bool ownsHandle) : base(ownsHandle)
src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (1)
17protected DebugSafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle) : base(ownsHandle)
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.cs (1)
18public SafeFileHandle(IntPtr preexistingHandle, bool ownsHandle) : base(ownsHandle)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (1)
51: base(ownsHandle)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeWaitHandle.cs (2)
13public SafeWaitHandle() : base(true) 22public SafeWaitHandle(IntPtr existingHandle, bool ownsHandle) : base(ownsHandle)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeBuffer.cs (1)
76protected SafeBuffer(bool ownsHandle) : base(ownsHandle)
System.Security.Cryptography (8)
Microsoft\Win32\SafeHandles\SafePasswordHandle.cs (3)
25: base(ownsHandle: true) 37: base(ownsHandle: true) 64: base(ownsHandle: true)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OCSP.cs (2)
101: base(true) 116: base(true)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509ChainHandle.cs (1)
14: base(true)
System\Security\Cryptography\Cng.NotSupported.cs (2)
15protected SafeNCryptHandle() : base(default(bool)) 21protected SafeNCryptHandle(IntPtr handle, SafeHandle parentHandle) : base(default(bool))
UIAutomationClient (2)
MS\Internal\Automation\SafeProcessHandle.cs (2)
15private SafeProcessHandle() : base(true) {} 17internal SafeProcessHandle(NativeMethods.HWND hwnd) : base(true)
UIAutomationClientSideProviders (8)
MS\Internal\AutomationProxies\CommonRemoteMemoryBlock.cs (2)
36private RemoteMemoryBlock() : base(true) {} 38internal RemoteMemoryBlock(int cbSize, SafeProcessHandle processHandle) : base(true)
MS\Internal\AutomationProxies\SafeCoTaskMem.cs (2)
14private SafeCoTaskMem() : base(true) {} 16internal SafeCoTaskMem(int length) : base(true)
MS\Internal\AutomationProxies\SafeProcessHandle.cs (2)
15private SafeProcessHandle() : base(true) {} 17internal SafeProcessHandle(IntPtr hwnd) : base(true)
MS\Internal\AutomationProxies\SafeThemeHandle.cs (2)
17private SafeThemeHandle() : base(true) {} 21internal SafeThemeHandle(IntPtr preexistingHandle, bool ownsHandle) : base(ownsHandle)
UIAutomationTypes (3)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsOther.cs (3)
211protected WpfSafeHandle(bool ownsHandle, int collectorId) : base(ownsHandle) 550 public SafeLocalMemHandle() : base(true) 554 public SafeLocalMemHandle(IntPtr existingHandle, bool ownsHandle) : base(ownsHandle)
WindowsFormsIntegration (1)
MS\Win32\DCSafeHandle.cs (1)
10private DCSafeHandle() : base(true) { }