229 references to
ComSvcConfig (2)
SafeNativeMethods.cs (2)
171: base(ownHandle) 177: base(true)
mscorlib (38)
microsoft\win32\safehandles\safefilehandle.cs (2)
30private SafeFileHandle() : base(true) 34public SafeFileHandle(IntPtr preexistingHandle, bool ownsHandle) : base(ownsHandle) {
microsoft\win32\safehandles\safefilemappinghandle.cs (2)
29internal SafeFileMappingHandle() : base(true) {} 33internal SafeFileMappingHandle(IntPtr handle, bool ownsHandle) : base (ownsHandle)
microsoft\win32\safehandles\safefindhandle.cs (1)
29internal SafeFindHandle() : base(true) {}
microsoft\win32\safehandles\safelibraryhandle.cs (1)
27internal SafeLibraryHandle() : base(true) {}
microsoft\win32\safehandles\safepefilehandle.cs (1)
22private SafePEFileHandle() : base(true)
microsoft\win32\safehandles\saferegistryhandle.cs (2)
27internal SafeRegistryHandle() : base(true) {} 30public SafeRegistryHandle(IntPtr preexistingHandle, bool ownsHandle) : base(ownsHandle) {
microsoft\win32\safehandles\safeviewoffilehandle.cs (2)
31internal SafeViewOfFileHandle() : base(true) {} 35internal SafeViewOfFileHandle(IntPtr handle, bool ownsHandle) : base (ownsHandle) {
microsoft\win32\safehandles\safewaithandle.cs (2)
33private SafeWaitHandle() : base(true) 38public SafeWaitHandle(IntPtr existingHandle, bool ownsHandle) : base(ownsHandle)
system\io\isolatedstorage\isolatedstoragefile.cs (1)
2793private SafeIsolatedStorageFileHandle() : base(true)
system\runtime\interopservices\safebuffer.cs (1)
91protected SafeBuffer(bool ownsHandle) : base(ownsHandle)
system\security\cryptography\capinative.cs (3)
508private SafeCspHandle() : base(true) { 543private SafeCspHashHandle() : base(true) { 583internal SafeCspKeyHandle() : base(true) {
system\security\cryptography\safecryptohandles.cs (6)
31private SafeProvHandle() : base(true) { 35private SafeProvHandle(IntPtr handle) : base (true) { 71private SafeKeyHandle() : base(true) { 75private SafeKeyHandle(IntPtr handle) : base (true) { 107private SafeHashHandle() : base(true) { 111private SafeHashHandle(IntPtr handle) : base (true) {
system\security\cryptography\x509certificates\safex509handles.cs (4)
24private SafeCertContextHandle() : base (true) {} 27internal SafeCertContextHandle(IntPtr handle) : base (true) { 67private SafeCertStoreHandle() : base (true) {} 70internal SafeCertStoreHandle(IntPtr handle) : base (true) {
system\security\safesecurityhandles.cs (8)
48private SafeLsaLogonProcessHandle() : base (true) {} 51internal SafeLsaLogonProcessHandle(IntPtr handle) : base (true) { 89private SafeLsaPolicyHandle() : base(true) {} 92internal SafeLsaPolicyHandle(IntPtr handle) : base (true) { 130private SafeProcessHandle() : base (true) {} 133internal SafeProcessHandle(IntPtr handle) : base (true) { 152private SafeThreadHandle() : base (true) {} 155internal SafeThreadHandle(IntPtr handle) : base (true) {
system\threading\timer.cs (1)
109: base(true)
system\typenameparser.cs (1)
28: base(true)
PresentationCore (8)
Core\CSharp\System\Windows\Media\ColorContextHelper.cs (2)
42: base(true) 55: base(true)
Core\CSharp\System\Windows\Media\ColorTransformHelper.cs (2)
41: base(true) 54: base(true)
Core\CSharp\System\Windows\Media\SafeMILHandle.cs (2)
32internal SafeMILHandle() : base(true) 44internal SafeMILHandle(IntPtr handle) : base(true)
Core\CSharp\System\Windows\Media\SafeReversePInvokeHandle.cs (2)
43internal SafeReversePInvokeWrapper() : base(true) 55internal SafeReversePInvokeWrapper(IntPtr delegatePtr) : base(true)
PresentationFramework (5)
src\Framework\System\Windows\Standard\NativeMethods.cs (5)
1347private SafeFindHandle() : base(true) { } 1434private SafeDC() : base(true) { } 1589private SafeHBITMAP() : base(true) { } 1612private SafeGdiplusStartupToken() : base(true) { } 1664: base(true)
SMDiagnostics (1)
System\ServiceModel\Diagnostics\SafeEventLogWriteHandle.cs (1)
22SafeEventLogWriteHandle() : base(true) { }
SMSvcHost (1)
System\ServiceModel\Activation\WebHostUnsafeNativeMethods.cs (1)
99: base(true)
System (54)
compmod\microsoft\win32\safehandles\SafeEventLogReadHandle.cs (1)
35internal SafeEventLogReadHandle () : base(true) { }
compmod\microsoft\win32\safehandles\SafeEventLogWriteHandle.cs (1)
35internal SafeEventLogWriteHandle () : base(true) {}
compmod\microsoft\win32\safehandles\SafeFileMappingHandle.cs (1)
39internal SafeFileMappingHandle() : base(true) {}
compmod\microsoft\win32\safehandles\SafeFileMapViewHandle.cs (1)
36internal SafeFileMapViewHandle() : base(true) {}
compmod\microsoft\win32\safehandles\SafeLibraryHandle.cs (1)
35internal SafeLibraryHandle() : base(true) {}
compmod\microsoft\win32\safehandles\SafeLocalMemHandle.cs (2)
33internal SafeLocalMemHandle() : base(true) {} 36internal SafeLocalMemHandle(IntPtr existingHandle, bool ownsHandle) : base(ownsHandle) {
compmod\microsoft\win32\safehandles\SafeProcessHandle.cs (3)
34internal SafeProcessHandle() : base(true) {} 36internal SafeProcessHandle(IntPtr handle) : base(true) { 41public SafeProcessHandle(IntPtr existingHandle, bool ownsHandle) : base(ownsHandle) {
compmod\microsoft\win32\safehandles\SafeThreadHandle.cs (1)
30internal SafeThreadHandle() : base(true) {
compmod\microsoft\win32\safehandles\SafeTimerHandle.cs (1)
35internal SafeTimerHandle() : base (true) {}
compmod\microsoft\win32\safehandles\SafeUserTokenHandle.cs (2)
34internal SafeUserTokenHandle() : base (true) {} 36internal SafeUserTokenHandle(IntPtr existingHandle, bool ownsHandle) : base(ownsHandle) {
net\System\Net\_SafeNetHandles.cs (21)
261private SafeFreeAddrInfo(): base(true) {} 406private SafeCloseIcmpHandle() : base(true) { 424public SafeInternetHandle() : base(true) { 442public SafeSspiAuthDataHandle() : base(true) { 471protected SafeFreeContextBuffer(): base(true) {} 660private SafeLocalFree() : base(true) {} 662private SafeLocalFree(bool ownsHandle) : base(ownsHandle) {} 691private SafeGlobalFree() : base(true) { } 692private SafeGlobalFree(bool ownsHandle) : base(ownsHandle) { } 712private SafeOverlappedFree() : base(true) {} 713private SafeOverlappedFree(bool ownsHandle) : base(ownsHandle) {} 792private SafeLoadLibrary() : base(true) { 795private SafeLoadLibrary(bool ownsHandle) : base(ownsHandle) { 827internal SafeFreeCertChain(IntPtr handle) : base(false) 833: base(ownsHandle) 858internal SafeFreeCertChainList() : base(true) { } 927: base(true) 1019internal SafeFreeCertContext() : base(true) {} 2957private SafeUnlockUrlCacheEntryFile(string keyString): base(true) { 3027private SafeRegistryHandle() : base(true) { } 3116: base(true)
net\System\Net\NetworkInformation\SafeCancelMibChangeNotify.cs (1)
14public SafeCancelMibChangeNotify() : base(true) { }
net\System\Net\NetworkInformation\SafeFreeMibTable.cs (1)
10public SafeFreeMibTable() : base(true) { }
net\System\Net\UnsafeNativeMethods.cs (1)
2230: base(ownsHandle: true)
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
340: base(true) {
security\system\security\Authentication\ExtendedProtection\ChannelBinding.cs (2)
16: base(true) 21: base(ownsHandle)
security\system\security\cryptography\cryptoapi.cs (13)
3924private SafeLibraryHandle() : base(true) { } 3946private SafeLocalAllocHandle () : base(true) {} 3949internal SafeLocalAllocHandle (IntPtr handle) : base (true) { 3980private SafeCryptProvHandle() : base (true) {} 3983internal SafeCryptProvHandle(IntPtr handle) : base (true) { 4014private SafeCertContextHandle() : base (true) {} 4017internal SafeCertContextHandle(IntPtr handle) : base (true) { 4051private SafeCertStoreHandle() : base (true) {} 4054internal SafeCertStoreHandle(IntPtr handle) : base (true) { 4085private SafeCryptMsgHandle () : base(true) {} 4087internal SafeCryptMsgHandle (IntPtr handle) : base (true) { 4128private SafeX509ChainHandle () : base(true) {} 4130internal SafeX509ChainHandle (IntPtr handle) : base (true) {
System.Configuration (4)
Microsoft\Win32\SafeCryptContextHandle.cs (2)
18: base(true) { 23: base(ownsHandle) {
Microsoft\Win32\SafeNativeMemoryHandle.cs (2)
24: base(true) { 30: base(ownsHandle) {
System.Core (18)
Microsoft\Win32\SafeHandles\BCryptSafeHandles.cs (3)
22private SafeBCryptAlgorithmHandle() : base(true) { 44private SafeBCryptHashHandle() : base(true) { 82internal SafeBCryptKeyHandle(): base(true){ }
Microsoft\Win32\SafeHandles\CapiSafeHandles.cs (3)
27private SafeAxlBufferHandle() : base(true) { 76internal SafeCapiHandleBase() : base(true) { 335private SafeCspHandle() : base(true) {
Microsoft\Win32\SafeHandles\NCryptSafeHandles.cs (2)
76protected SafeNCryptHandle() : base(true) { 80protected SafeNCryptHandle(IntPtr handle, SafeHandle parentHandle) : base(true) {
Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs (1)
29internal SafeLibraryHandle() : base(true) {}
Microsoft\Win32\SafeHandles\SafeMemoryMappedFileHandle.cs (2)
36internal SafeMemoryMappedFileHandle() : base(true) { } 39internal SafeMemoryMappedFileHandle(IntPtr handle, bool ownsHandle) : base(ownsHandle) {
Microsoft\Win32\SafeHandles\SafePerfProviderHandle.cs (1)
18private SafePerfProviderHandle() : base(true) {}
Microsoft\Win32\SafeHandles\SafePipeHandle.cs (2)
26: base(true) { } 29: base(ownsHandle) {
System\Security\Cryptography\CapiNative.cs (2)
976: base(true) { 1008: base(true) {
System\Security\Cryptography\X509Certificates\X509Native.cs (2)
484private SafeCertContextHandle() : base(true) { } 489: base(true)
System.Data (3)
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (3)
861: base (true) 942: base (true) 1008: base (true)
System.IdentityModel (20)
System\IdentityModel\CryptoApi.cs (6)
350SafeCertStoreHandle() : base(true) { } 354: base(true) 377SafeCertContextHandle() : base(true) { } 381: base(true) 404SafeCertChainHandle() : base(true) { } 407: base(true)
System\IdentityModel\SafeCryptHandles.cs (4)
17SafeProvHandle() : base(true) { } 21: base(true) 44SafeKeyHandle() : base(true) { } 48: base(true)
System\IdentityModel\SspiSafeHandles.cs (10)
1203internal SafeFreeCertContext() : base(true) { } 1233SafeFreeContextBuffer() : base(true) { } 1364SafeCloseHandle() : base(true) { } 1366: base(ownsHandle) 1391SafeHGlobalHandle() : base(true) { } 1395: base(true) 1456SafeLsaLogonProcessHandle() : base(true) { } 1460: base(true) 1479SafeLsaReturnBufferHandle() : base(true) { } 1483: base(true)
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\SafeLibraryHandle.cs (1)
35: base(true)
System.Messaging (4)
System\Messaging\Interop\SafeHandles.cs (4)
18MessageQueueHandle() : base(true) { } 54protected CursorHandle() : base(true) { } 89protected LocatorHandle() : base(true) { } 125: base(true)
System.Net (11)
net\PeerToPeer\Collaboration\UnsafeCollabNativeMethods.cs (7)
32internal SafeCollabData() : base(true) { } 56internal SafeCollabEnum() : base(true) { } 80internal SafeCollabInvite() : base(true) { } 104internal SafeCertStore() : base(true) { } 128internal SafeCollabMemory() : base(true) { } 132: base(true) 164internal SafeCollabEvent() : base(true) { }
net\PeerToPeer\UnsafePeerToPeerMethods.cs (3)
183private SafePeerData() : base(true) { } 211internal SafePeerNameUnregister() : base(true) { } 231internal SafePeerNameEndResolve() : base(true) { }
net\UnsafeMethods.cs (1)
105private SafeLoadLibrary() : base(true) { }
System.Runtime.Caching (1)
System\Caching\SafeRegistryHandle.cs (1)
19internal SafeRegistryHandle() : base(true) {}
System.Security (15)
system\security\cryptography\cryptoapi.cs (15)
2930private SafeLibraryHandle() : base(true) { } 2948private SafeLocalAllocHandle () : base(true) {} 2951internal SafeLocalAllocHandle (IntPtr handle) : base (true) { 2981private SafeCryptProvHandle() : base (true) {} 2984internal SafeCryptProvHandle(IntPtr handle) : base (true) { 2988internal SafeCryptProvHandle(IntPtr handle, bool ownsHandle) : base (ownsHandle) { 2992internal SafeCryptProvHandle(IntPtr handle, SafeHandle parentHandle) : base (true) { 3064private SafeCertContextHandle() : base (true) {} 3067internal SafeCertContextHandle(IntPtr handle) : base (true) { 3095private SafeCertStoreHandle() : base (true) {} 3098internal SafeCertStoreHandle(IntPtr handle) : base (true) { 3126private SafeCryptMsgHandle () : base(true) {} 3128internal SafeCryptMsgHandle (IntPtr handle) : base (true) { 3156private SafeCertChainHandle () : base(true) {} 3158internal SafeCertChainHandle (IntPtr handle) : base (true) {
System.ServiceModel (9)
System\ServiceModel\Activation\ListenerUnsafeNativeMethods.cs (3)
250SafeCloseHandle() : base(true) { } 252: base(ownsHandle) 276: base(true)
System\ServiceModel\Channels\UnsafeNativeMethods.cs (4)
1231: base(true) 1247: base(true) 1277: base(true) 1295internal MsmqQueueHandle() : base(true) { }
System\ServiceModel\ComIntegration\SafeNativeMethods.cs (2)
749: base(ownHandle) 755: base(true)
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\Interop\SafeCloseHandleCritical.cs (1)
22: base(true)
System\ServiceModel\Activation\Interop\SafeHGlobalHandleCritical.cs (2)
21: base(true) 27: base(true)
System.ServiceModel.Internals (1)
System\Runtime\Interop\SafeEventLogWriteHandle.cs (1)
21SafeEventLogWriteHandle() : base(true) { }
System.Web (1)
Util\HeapAllocHandle.cs (1)
18: base(ownsHandle: true) {
UIAutomationClient (2)
MS\Internal\Automation\SafeProcessHandle.cs (2)
32private SafeProcessHandle() : base(true) {} 34internal SafeProcessHandle(NativeMethods.HWND hwnd) : base(true)
UIAutomationClientsideProviders (8)
MS\Internal\AutomationProxies\CommonRemoteMemoryBlock.cs (2)
48private RemoteMemoryBlock() : base(true) {} 50internal RemoteMemoryBlock(int cbSize, SafeProcessHandle processHandle) : base(true)
MS\Internal\AutomationProxies\SafeCoTaskMem.cs (2)
28private SafeCoTaskMem() : base(true) {} 30internal SafeCoTaskMem(int length) : base(true)
MS\Internal\AutomationProxies\SafeProcessHandle.cs (2)
29private SafeProcessHandle() : base(true) {} 31internal SafeProcessHandle(IntPtr hwnd) : base(true)
MS\Internal\AutomationProxies\SafeThemeHandle.cs (2)
29private SafeThemeHandle() : base(true) {} 33internal SafeThemeHandle(IntPtr preexistingHandle, bool ownsHandle) : base(ownsHandle)
WindowsBase (7)
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
340: base(true) {
Shared\MS\Win32\NativeMethodsOther.cs (3)
263protected WpfSafeHandle(bool ownsHandle, int collectorId) : base(ownsHandle) 692 public SafeLocalMemHandle() : base(true) 700 public SafeLocalMemHandle(IntPtr existingHandle, bool ownsHandle) : base(ownsHandle)
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (3)
545internal SafeFileMappingHandle(IntPtr handle) : base(false) 555internal SafeFileMappingHandle() : base(true) 597internal SafeViewOfFileHandle() : base(true) { }
WsatConfig (5)
Configuration\SafeCertificateContext.cs (1)
19internal SafeCertificateContext() : base(false) { }
Configuration\SafeCertificateStore.cs (1)
19: base(false)
Configuration\SafeLocalAllocation.cs (1)
19: base(true)
Configuration\SafeRegistryKey.cs (2)
18internal SafeRegistryKey() : base(false) { } 22: base(ownsHandle)
WsatUI (7)
Configuration\SafeCertificateContext.cs (1)
19internal SafeCertificateContext() : base(false) { }
Configuration\SafeCertificateStore.cs (1)
19: base(false)
Configuration\SafeLocalAllocation.cs (2)
19: base(true) 30: base(true)
Configuration\SafeRegistryKey.cs (2)
18internal SafeRegistryKey() : base(false) { } 22: base(ownsHandle)
MMCUI\SafePropertyPage.cs (1)
19: base(ownsHandle)