2 writes to _baggage
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
644
if (_baggage != null || Interlocked.CompareExchange(ref
_baggage
, new BaggageLinkedList(kvp), null) != null)
668
if (_baggage != null || Interlocked.CompareExchange(ref
_baggage
, new BaggageLinkedList(kvp, set: true), null) != null)
8 references to _baggage
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\Activity.cs (8)
385
if (activity.
_baggage
!= null)
398
if (activity.
_baggage
!= null)
400
for (DiagNode<KeyValuePair<string, string?>>? current = activity.
_baggage
.First; current != null; current = current.Next)
644
if (
_baggage
!= null || Interlocked.CompareExchange(ref _baggage, new BaggageLinkedList(kvp), null) != null)
646
_baggage
.Add(kvp);
668
if (
_baggage
!= null || Interlocked.CompareExchange(ref _baggage, new BaggageLinkedList(kvp, set: true), null) != null)
670
_baggage
.Set(kvp);
1643
BaggageLinkedList? baggage = _activity.
_baggage
;