2 writes to _baggage
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
638
if (_baggage != null || Interlocked.CompareExchange(ref
_baggage
, new BaggageLinkedList(kvp), null) != null)
662
if (_baggage != null || Interlocked.CompareExchange(ref
_baggage
, new BaggageLinkedList(kvp, set: true), null) != null)
7 references to _baggage
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (7)
382
if (activity.
_baggage
!= null)
395
if (activity.
_baggage
!= null)
397
for (DiagNode<KeyValuePair<string, string?>>? current = activity.
_baggage
.First; current != null; current = current.Next)
638
if (
_baggage
!= null || Interlocked.CompareExchange(ref _baggage, new BaggageLinkedList(kvp), null) != null)
640
_baggage
.Add(kvp);
662
if (
_baggage
!= null || Interlocked.CompareExchange(ref _baggage, new BaggageLinkedList(kvp, set: true), null) != null)
664
_baggage
.Set(kvp);