2 writes to _spanId
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
928
Interlocked.CompareExchange(ref
_spanId
, spanId, null);
1344
_spanId
= ActivitySpanId.CreateRandom().ToHexString();
9 references to _spanId
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Activity.cs (9)
247
if (_id == null &&
_spanId
!= null)
254
string.Create(null, stackalloc char[128], $"00-{_traceId}-{
_spanId
}-{flagsChars}");
691
if (_id != null ||
_spanId
!= null)
721
if (_id != null ||
_spanId
!= null)
805
if (_id != null ||
_spanId
!= null)
860
if (_id == null &&
_spanId
== null)
921
if (
_spanId
is null)
931
return new ActivitySpanId(
_spanId
);
1066
if (_id != null ||
_spanId
!= null)