1 write to _events
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Activity.cs (1)
529
if (_events != null || Interlocked.CompareExchange(ref
_events
, new DiagLinkedList<ActivityEvent>(e), null) != null)
4 references to _events
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (4)
356
get =>
_events
?? s_emptyEvents;
419
public Enumerator<ActivityEvent> EnumerateEvents() => new Enumerator<ActivityEvent>(
_events
?.First);
529
if (
_events
!= null || Interlocked.CompareExchange(ref _events, new DiagLinkedList<ActivityEvent>(e), null) != null)
531
_events
.Add(e);