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