7 references to TryRemove
Microsoft.Extensions.Caching.Memory (2)
MemoryCache.cs (2)
787
if (entry.Key is string s ? _stringEntries.
TryRemove
(KeyValuePair.Create(s, entry))
788
: _nonStringEntries.
TryRemove
(KeyValuePair.Create(entry.Key, entry)))
Microsoft.Extensions.ServiceDiscovery (2)
Http\HttpServiceEndpointResolver.cs (1)
62
_resolvers.
TryRemove
(KeyValuePair.Create(resolver.ServiceName, resolver));
ServiceEndpointResolver.cs (1)
70
_resolvers.
TryRemove
(KeyValuePair.Create(resolver.ServiceName, resolver));
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1663
TryRemove
(keyValuePair);
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\FailedProxyCache.cs (1)
88
_failedProxies.
TryRemove
(new KeyValuePair<Uri, long>(uri, renewTicks));
System.Net.Requests (1)
System\Net\ServicePoint\ServicePointManager.cs (1)
142
s_servicePointTable.
TryRemove
(entry);