2 writes to s_currentRootId
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (1)
1346
ret = AppendSuffix(parentId, Interlocked.Increment(ref
s_currentRootId
).ToString("x"), '_');
System\Diagnostics\Activity.GenerateRootId.netcoreapp.cs (1)
19
bool formatted = Interlocked.Increment(ref
s_currentRootId
).TryFormat(result.Slice(1), out int charsWritten, "x");