5 references to s_allStartedListeners
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Metrics\MeterListener.cs (5)
192
if (!
s_allStartedListeners
.Contains(this))
194
s_allStartedListeners
.Add(this);
264
s_allStartedListeners
.Remove(this);
295
internal static List<MeterListener>? GetAllListeners() =>
s_allStartedListeners
.Count == 0 ? null : new List<MeterListener>(
s_allStartedListeners
);