5 writes to _traceId
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Activity.cs (5)
732
_traceId
= traceId.ToHexString(); // The child will share the parent's traceId.
1240
activity.
_traceId
= parentContext.TraceId.ToString();
1317
_traceId
= id.ToHexString();
1462
_traceId
= Parent.TraceId.ToHexString();
1468
_traceId
= ActivityTraceId.CreateFromString(_parentId.AsSpan(3, 32)).ToHexString();
7 references to _traceId
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (7)
250
string.Create(null, stackalloc char[128], $"00-{
_traceId
}-{_spanId}-{flagsChars}");
282
string.Create(null, stackalloc char[128], $"00-{
_traceId
}-{_parentSpanId}-{flagsChars}");
939
if (
_traceId
is null)
944
return new ActivityTraceId(
_traceId
);
1298
if (
_traceId
is null)
1458
Debug.Assert(
_traceId
is null);
1475
return
_traceId
!= null;