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