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