3 references to AddIfNotExist
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Metrics\Instrument.cs (2)
175if (!_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);