2 writes to _spanId
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
924
Interlocked.CompareExchange(ref
_spanId
, spanId, null);
1337
_spanId
= ActivitySpanId.CreateRandom().ToHexString();
9 references to _spanId
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Activity.cs (9)
243
if (_id == null &&
_spanId
!= null)
250
string.Create(null, stackalloc char[128], $"00-{_traceId}-{
_spanId
}-{flagsChars}");
687
if (_id != null ||
_spanId
!= null)
717
if (_id != null ||
_spanId
!= null)
801
if (_id != null ||
_spanId
!= null)
856
if (_id == null &&
_spanId
== null)
917
if (
_spanId
is null)
927
return new ActivitySpanId(
_spanId
);
1062
if (_id != null ||
_spanId
!= null)