2 writes to _spanId
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
928Interlocked.CompareExchange(ref _spanId, spanId, null); 1344_spanId = ActivitySpanId.CreateRandom().ToHexString();
9 references to _spanId
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Activity.cs (9)
247if (_id == null && _spanId != null) 254string.Create(null, stackalloc char[128], $"00-{_traceId}-{_spanId}-{flagsChars}"); 691if (_id != null || _spanId != null) 721if (_id != null || _spanId != null) 805if (_id != null || _spanId != null) 860if (_id == null && _spanId == null) 921if (_spanId is null) 931return new ActivitySpanId(_spanId); 1066if (_id != null || _spanId != null)