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