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