4 writes to _cache
Microsoft.Extensions.Caching.StackExchangeRedis (4)
RedisCache.cs (4)
302cache = _cache = connection.GetDatabase(); 346cache = _cache = connection.GetDatabase(); 624ReleaseConnection(Interlocked.Exchange(ref _cache, null)); 676var tmp = Interlocked.CompareExchange(ref _cache, null, cache);
9 references to _cache
Microsoft.Extensions.Caching.StackExchangeRedis (9)
RedisCache.cs (9)
274[MemberNotNull(nameof(_cache))] 278var cache = _cache; 281Debug.Assert(_cache is not null); 288cache = _cache; 304Debug.Assert(_cache is not null); 318var cache = _cache; 321Debug.Assert(_cache is not null); 332var cache = _cache; 348Debug.Assert(_cache is not null);