10 writes to _cacheableKeyRing
Microsoft.AspNetCore.DataProtection (10)
KeyManagement\KeyRingProvider.cs (10)
234existingCacheableKeyRing = Volatile.Read(ref _cacheableKeyRing); 256existingCacheableKeyRing = Volatile.Read(ref _cacheableKeyRing); 295Volatile.Write(ref _cacheableKeyRing, existingCacheableKeyRing.WithTemporaryExtendedLifetime(utcNow)); 304Volatile.Write(ref _cacheableKeyRing, newCacheableKeyRing); 337var cached = Volatile.Read(ref _cacheableKeyRing); 353existingCacheableKeyRing = Volatile.Read(ref _cacheableKeyRing); 422var newCacheableKeyRing = Volatile.Read(ref _cacheableKeyRing); 460Volatile.Write(ref _cacheableKeyRing, newCacheableKeyRing); 465var existingCacheableKeyRing = Volatile.Read(ref _cacheableKeyRing); 470Volatile.Write(ref _cacheableKeyRing, existingCacheableKeyRing.WithTemporaryExtendedLifetime(utcNow));