5 references to _instrumentStates
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Metrics\AggregationManager.cs (5)
324
_instrumentStates
.TryRemove(instrument, out _);
329
if (!
_instrumentStates
.TryGetValue(instrument, out InstrumentState? instrumentState))
340
_instrumentStates
.TryAdd(instrument, instrumentState);
344
_instrumentStates
.TryGetValue(instrument, out instrumentState);
501
foreach (KeyValuePair<Instrument, InstrumentState> kv in
_instrumentStates
)