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