3 references to AddIfNotExist
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Metrics\Instrument.cs (2)
175
if (!_subscriptions.
AddIfNotExist
(subscription, (s1, s2) => object.ReferenceEquals(s1.Listener, s2.Listener)))
178
_subscriptions.
AddIfNotExist
(subscription, (s1, s2) => object.ReferenceEquals(s1.Listener, s2.Listener));
System\Diagnostics\Metrics\MeterListener.cs (1)
78
_enabledMeasurementInstruments.
AddIfNotExist
(instrument, object.ReferenceEquals);