3 writes to _parentSpanId
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
727_parentSpanId = spanId.ToHexString(); 998Interlocked.CompareExchange(ref _parentSpanId, parentSpanId, null); 1233activity._parentSpanId = parentContext.SpanId.ToString();
8 references to _parentSpanId
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\Activity.cs (8)
273if (_parentSpanId != null) 279string.Create(null, stackalloc char[128], $"00-{_traceId}-{_parentSpanId}-{flagsChars}"); 690else if (ParentId != null || _parentSpanId != null) 720else if (ParentId != null || _parentSpanId != null) 802if (_parentId == null && _parentSpanId is null) 822_parentSpanId != null ? ActivityIdFormat.W3C : 980if (_parentSpanId is null) 1001return new ActivitySpanId(_parentSpanId);