16 references to SetHandleAsInvalid
System.Net.Security (2)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (1)
325
dupCertHandle.
SetHandleAsInvalid
(); // ownership has been transferred to sslHandle; do not free via this safe handle
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.SslCtx.cs (1)
60
dupCertHandle.
SetHandleAsInvalid
(); // ownership has been transferred to sslHandle; do not free via this safe handle
System.Net.Sockets (1)
System\Net\Sockets\SafeSocketHandle.cs (1)
183
SetHandleAsInvalid
();
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Threading\EventWaitHandle.Windows.cs (2)
36
handle.
SetHandleAsInvalid
();
88
handle.
SetHandleAsInvalid
();
src\libraries\System.Private.CoreLib\src\System\Threading\Semaphore.Windows.cs (2)
40
handle.
SetHandleAsInvalid
();
96
myHandle.
SetHandleAsInvalid
();
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (1)
61
_waitHandle.
SetHandleAsInvalid
();
src\System\Threading\Mutex.CoreCLR.Unix.cs (2)
29
handle.
SetHandleAsInvalid
();
53
mutexHandle.
SetHandleAsInvalid
();
System.Security.Cryptography (6)
System\Security\Cryptography\X509Certificates\OpenSslCachedSystemStoreProvider.cs (2)
257
tmp.
SetHandleAsInvalid
();
275
tmp.
SetHandleAsInvalid
();
System\Security\Cryptography\X509Certificates\OpenSslExportProvider.cs (1)
88
certHandle.
SetHandleAsInvalid
();
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (3)
541
upref.
SetHandleAsInvalid
();
1297
tmp.
SetHandleAsInvalid
();
1311
tmp.
SetHandleAsInvalid
();