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