2 writes to _baggage
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
648
if (_baggage != null || Interlocked.CompareExchange(ref
_baggage
, new BaggageLinkedList(kvp), null) != null)
672
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)
389
if (activity.
_baggage
!= null)
402
if (activity.
_baggage
!= null)
404
for (DiagNode<KeyValuePair<string, string?>>? current = activity.
_baggage
.First; current != null; current = current.Next)
648
if (
_baggage
!= null || Interlocked.CompareExchange(ref _baggage, new BaggageLinkedList(kvp), null) != null)
650
_baggage
.Add(kvp);
672
if (
_baggage
!= null || Interlocked.CompareExchange(ref _baggage, new BaggageLinkedList(kvp, set: true), null) != null)
674
_baggage
.Set(kvp);
1650
BaggageLinkedList? baggage = _activity.
_baggage
;