1 implementation of TryAddRentCount
System.Net.Security (1)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.SslCtx.cs (1)
106public bool TryAddRentCount()
3 references to TryAddRentCount
System.Net.Security (3)
src\runtime\src\libraries\Common\src\System\Net\SafeHandleCache.cs (3)
53if (_cache.TryGetValue(key, out THandle? handle) && handle.TryAddRentCount()) 68handle.TryAddRentCount(); // The caler is the first renter 80while (cached != handle && !cached.TryAddRentCount());