2 writes to _id
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
251
Interlocked.CompareExchange(ref
_id
, id, null);
832
_id
= GenerateHierarchicalId();
9 references to _id
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Activity.cs (9)
240
if (
_id
== null && _spanId != null)
254
return
_id
;
681
if (
_id
!= null || _spanId != null)
711
if (
_id
!= null || _spanId != null)
795
if (
_id
!= null || _spanId != null)
850
if (
_id
== null && _spanId == null)
913
if (
_id
!= null && IdFormat == ActivityIdFormat.W3C)
915
ActivitySpanId activitySpanId = ActivitySpanId.CreateFromString(
_id
.AsSpan(36, 16));
1051
if (
_id
!= null || _spanId != null)