3 references to GetCounterRef
System.Runtime.Caching (3)
System\Runtime\Caching\Counters.cs (3)
149internal void Increment(CounterName name) => Interlocked.Increment(ref GetCounterRef(name)); 151internal void IncrementBy(CounterName name, long value) => Interlocked.Add(ref GetCounterRef(name), value); 153internal void Decrement(CounterName name) => Interlocked.Decrement(ref GetCounterRef(name));