5 references to _instrumentStates
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Metrics\AggregationManager.cs (5)
331
_instrumentStates
.TryRemove(instrument, out _);
336
if (!
_instrumentStates
.TryGetValue(instrument, out InstrumentState? instrumentState))
347
_instrumentStates
.TryAdd(instrument, instrumentState);
351
_instrumentStates
.TryGetValue(instrument, out instrumentState);
506
foreach (KeyValuePair<Instrument, InstrumentState> kv in
_instrumentStates
)