3 writes to _parentSpanId
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
733_parentSpanId = spanId.ToHexString(); 1009Interlocked.CompareExchange(ref _parentSpanId, parentSpanId, null); 1244activity._parentSpanId = parentContext.SpanId.ToString();
8 references to _parentSpanId
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\Activity.cs (8)
276if (_parentSpanId != null) 282string.Create(null, stackalloc char[128], $"00-{_traceId}-{_parentSpanId}-{flagsChars}"); 696else if (ParentId != null || _parentSpanId != null) 726else if (ParentId != null || _parentSpanId != null) 808if (_parentId == null && _parentSpanId is null) 828_parentSpanId != null ? ActivityIdFormat.W3C : 991if (_parentSpanId is null) 1012return new ActivitySpanId(_parentSpanId);