2 writes to _spanId
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
901
Interlocked.CompareExchange(ref
_spanId
, spanId, null);
1270
_spanId
= ActivitySpanId.CreateRandom().ToHexString();
9 references to _spanId
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Activity.cs (9)
223
if (_id == null &&
_spanId
!= null)
230
string.Create(null, stackalloc char[128], $"00-{_traceId}-{
_spanId
}-{flagsChars}");
664
if (_id != null ||
_spanId
!= null)
694
if (_id != null ||
_spanId
!= null)
778
if (_id != null ||
_spanId
!= null)
833
if (_id == null &&
_spanId
== null)
894
if (
_spanId
is null)
904
return new ActivitySpanId(
_spanId
);
1034
if (_id != null ||
_spanId
!= null)