2 writes to _specsBySourceNameAndActivityName
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\DsesActivitySourceListener.cs (2)
42_specsBySourceNameAndActivityName = null; 73var specs = _specsBySourceNameAndActivityName ??= new(SpecLookupKeyComparer.Instance);
5 references to _specsBySourceNameAndActivityName
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\DsesActivitySourceListener.cs (5)
100Debug.Assert(_wildcardSpec != null || _specsBySourceNameAndActivityName != null); 122|| _specsBySourceNameAndActivityName != null); 148if (_specsBySourceNameAndActivityName != null) 151_specsBySourceNameAndActivityName.TryGetValue(new(activitySourceName, activityName), out spec)) 155if (_specsBySourceNameAndActivityName.TryGetValue(new(activitySourceName, null), out spec))