3 writes to _parentSpanId
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
737_parentSpanId = spanId.ToHexString(); 1013Interlocked.CompareExchange(ref _parentSpanId, parentSpanId, null); 1251activity._parentSpanId = parentContext.SpanId.ToString();
8 references to _parentSpanId
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\Activity.cs (8)
280if (_parentSpanId != null) 286string.Create(null, stackalloc char[128], $"00-{_traceId}-{_parentSpanId}-{flagsChars}"); 700else if (ParentId != null || _parentSpanId != null) 730else if (ParentId != null || _parentSpanId != null) 812if (_parentId == null && _parentSpanId is null) 832_parentSpanId != null ? ActivityIdFormat.W3C : 995if (_parentSpanId is null) 1016return new ActivitySpanId(_parentSpanId);