2 writes to _spanId
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
916
Interlocked.CompareExchange(ref
_spanId
, spanId, null);
1302
_spanId
= ActivitySpanId.CreateRandom().ToHexString();
9 references to _spanId
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Activity.cs (9)
241
if (_id == null &&
_spanId
!= null)
248
string.Create(null, stackalloc char[128], $"00-{_traceId}-{
_spanId
}-{flagsChars}");
679
if (_id != null ||
_spanId
!= null)
709
if (_id != null ||
_spanId
!= null)
793
if (_id != null ||
_spanId
!= null)
848
if (_id == null &&
_spanId
== null)
909
if (
_spanId
is null)
919
return new ActivitySpanId(
_spanId
);
1049
if (_id != null ||
_spanId
!= null)