3 writes to _parentSpanId
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
724_parentSpanId = spanId.ToHexString(); 995Interlocked.CompareExchange(ref _parentSpanId, parentSpanId, null); 1230activity._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}"); 687else if (ParentId != null || _parentSpanId != null) 717else if (ParentId != null || _parentSpanId != null) 799if (_parentId == null && _parentSpanId is null) 819_parentSpanId != null ? ActivityIdFormat.W3C : 977if (_parentSpanId is null) 998return new ActivitySpanId(_parentSpanId);