2 writes to _spanId
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
915Interlocked.CompareExchange(ref _spanId, spanId, null); 1301_spanId = ActivitySpanId.CreateRandom().ToHexString();
9 references to _spanId
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Activity.cs (9)
240if (_id == null && _spanId != null) 247string.Create(null, stackalloc char[128], $"00-{_traceId}-{_spanId}-{flagsChars}"); 678if (_id != null || _spanId != null) 708if (_id != null || _spanId != null) 792if (_id != null || _spanId != null) 847if (_id == null && _spanId == null) 908if (_spanId is null) 918return new ActivitySpanId(_spanId); 1048if (_id != null || _spanId != null)