2 writes to _spanId
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
918
Interlocked.CompareExchange(ref
_spanId
, spanId, null);
1302
_spanId
= ActivitySpanId.CreateRandom().ToHexString();
9 references to _spanId
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Activity.cs (9)
240
if (_id == null &&
_spanId
!= null)
247
string.Create(null, stackalloc char[128], $"00-{_traceId}-{
_spanId
}-{flagsChars}");
681
if (_id != null ||
_spanId
!= null)
711
if (_id != null ||
_spanId
!= null)
795
if (_id != null ||
_spanId
!= null)
850
if (_id == null &&
_spanId
== null)
911
if (
_spanId
is null)
921
return new ActivitySpanId(
_spanId
);
1051
if (_id != null ||
_spanId
!= null)