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