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