5 writes to _traceId
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Activity.cs (5)
726
_traceId
= traceId.ToHexString(); // The child will share the parent's traceId.
1229
activity.
_traceId
= parentContext.TraceId.ToString();
1291
_traceId
= id.ToHexString();
1427
_traceId
= Parent.TraceId.ToHexString();
1433
_traceId
= ActivityTraceId.CreateFromString(_parentId.AsSpan(3, 32)).ToHexString();
7 references to _traceId
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (7)
247
string.Create(null, stackalloc char[128], $"00-{
_traceId
}-{_spanId}-{flagsChars}");
279
string.Create(null, stackalloc char[128], $"00-{
_traceId
}-{_parentSpanId}-{flagsChars}");
933
if (
_traceId
is null)
938
return new ActivityTraceId(
_traceId
);
1285
if (
_traceId
is null)
1423
Debug.Assert(
_traceId
is null);
1440
return
_traceId
!= null;