3 writes to _parentSpanId
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
710_parentSpanId = spanId.ToHexString(); 981Interlocked.CompareExchange(ref _parentSpanId, parentSpanId, null); 1216activity._parentSpanId = parentContext.SpanId.ToString();
8 references to _parentSpanId
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\Activity.cs (8)
256if (_parentSpanId != null) 262string.Create(null, stackalloc char[128], $"00-{_traceId}-{_parentSpanId}-{flagsChars}"); 673else if (ParentId != null || _parentSpanId != null) 703else if (ParentId != null || _parentSpanId != null) 785if (_parentId == null && _parentSpanId is null) 805_parentSpanId != null ? ActivityIdFormat.W3C : 963if (_parentSpanId is null) 984return new ActivitySpanId(_parentSpanId);