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