13 writes to ProtectedOpCount
Microsoft.Extensions.Caching.Hybrid.Tests (13)
L2Tests.cs (13)
166Interlocked.Increment(ref ProtectedOpCount); 173Interlocked.Increment(ref ProtectedOpCount); 180Interlocked.Increment(ref ProtectedOpCount); 194Interlocked.Increment(ref ProtectedOpCount); 214public int OpCount => Volatile.Read(ref ProtectedOpCount); 218Interlocked.Increment(ref ProtectedOpCount); 225Interlocked.Increment(ref ProtectedOpCount); 232Interlocked.Increment(ref ProtectedOpCount); 239Interlocked.Increment(ref ProtectedOpCount); 246Interlocked.Increment(ref ProtectedOpCount); 253Interlocked.Increment(ref ProtectedOpCount); 260Interlocked.Increment(ref ProtectedOpCount); 267Interlocked.Increment(ref ProtectedOpCount);