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