3 writes to _parentSpanId
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
724
_parentSpanId
= spanId.ToHexString();
995
Interlocked.CompareExchange(ref
_parentSpanId
, parentSpanId, null);
1230
activity.
_parentSpanId
= parentContext.SpanId.ToString();
8 references to _parentSpanId
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\Activity.cs (8)
273
if (
_parentSpanId
!= null)
279
string.Create(null, stackalloc char[128], $"00-{_traceId}-{
_parentSpanId
}-{flagsChars}");
687
else if (ParentId != null ||
_parentSpanId
!= null)
717
else if (ParentId != null ||
_parentSpanId
!= null)
799
if (_parentId == null &&
_parentSpanId
is null)
819
_parentSpanId
!= null ? ActivityIdFormat.W3C :
977
if (
_parentSpanId
is null)
998
return new ActivitySpanId(
_parentSpanId
);