2 writes to _links
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
617
if (_links != null || Interlocked.CompareExchange(ref
_links
, new DiagLinkedList<ActivityLink>(link), null) != null)
1195
activity.
_links
= new DiagLinkedList<ActivityLink>(enumerator);
4 references to _links
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (4)
365
get =>
_links
?? s_emptyLinks;
425
public Enumerator<ActivityLink> EnumerateLinks() => new Enumerator<ActivityLink>(
_links
?.First);
617
if (
_links
!= null || Interlocked.CompareExchange(ref _links, new DiagLinkedList<ActivityLink>(link), null) != null)
619
_links
.Add(link);