2 references to TryGetValue
Microsoft.Extensions.Caching.Memory (2)
MemoryCache.cs (2)
138if (coherentState.TryGetValue(entry.Key, out CacheEntry? priorEntry)) 211coherentState.TryGetValue(key, out CacheEntry? entry); // note we rely on documented "default when fails" contract re the out