5 writes to _traceId
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Activity.cs (5)
709
_traceId
= traceId.ToHexString(); // The child will share the parent's traceId.
1212
activity.
_traceId
= parentContext.TraceId.ToString();
1259
_traceId
= id.ToHexString();
1395
_traceId
= Parent.TraceId.ToHexString();
1401
_traceId
= ActivityTraceId.CreateFromString(_parentId.AsSpan(3, 32)).ToHexString();
7 references to _traceId
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (7)
230
string.Create(null, stackalloc char[128], $"00-{
_traceId
}-{_spanId}-{flagsChars}");
262
string.Create(null, stackalloc char[128], $"00-{
_traceId
}-{_parentSpanId}-{flagsChars}");
916
if (
_traceId
is null)
921
return new ActivityTraceId(
_traceId
);
1253
if (
_traceId
is null)
1391
Debug.Assert(
_traceId
is null);
1408
return
_traceId
!= null;