2 writes to _spanId
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
916Interlocked.CompareExchange(ref _spanId, spanId, null); 1302_spanId = ActivitySpanId.CreateRandom().ToHexString();
9 references to _spanId
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Activity.cs (9)
241if (_id == null && _spanId != null) 248string.Create(null, stackalloc char[128], $"00-{_traceId}-{_spanId}-{flagsChars}"); 679if (_id != null || _spanId != null) 709if (_id != null || _spanId != null) 793if (_id != null || _spanId != null) 848if (_id == null && _spanId == null) 909if (_spanId is null) 919return new ActivitySpanId(_spanId); 1049if (_id != null || _spanId != null)