19 references to ToHexString
Microsoft.DotNet.Cli.Telemetry (3)
Implementation\AzureMonitorLogSerializer.cs (1)
202tags[BreezeSchema.OperationParentId] = logRecord.SpanId.ToHexString();
Implementation\AzureMonitorTelemetrySerializer.cs (2)
53var spanId = activity.SpanId.ToHexString(); 218tags[BreezeSchema.OperationParentId] = activity.ParentSpanId.ToHexString();
Microsoft.Extensions.Logging (2)
LoggerFactoryScopeProvider.cs (2)
296ActivityIdFormat.W3C => activity.SpanId.ToHexString(), 316ActivityIdFormat.W3C => activity.ParentSpanId.ToHexString(),
Microsoft.Extensions.Logging.EventSource (1)
EventSourceLogger.cs (1)
101activitySpanId = activity.SpanId.ToHexString();
Microsoft.Extensions.Telemetry (2)
Logging\Import\LoggerFactoryScopeProvider.cs (2)
310ActivityIdFormat.W3C => activity.SpanId.ToHexString(), 330ActivityIdFormat.W3C => activity.ParentSpanId.ToHexString(),
Microsoft.Extensions.Telemetry.Tests (2)
Logging\ExtendedLoggerFactoryTests.cs (2)
663ActivityIdFormat.W3C => activity.SpanId.ToHexString(), 687ActivityIdFormat.W3C => activity.ParentSpanId.ToHexString(),
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Activity.cs (8)
727_parentSpanId = spanId.ToHexString(); 916string spanId = activitySpanId.ToHexString(); 992parentSpanId = ActivitySpanId.CreateFromString(_parentId.AsSpan(36, 16)).ToHexString(); 998parentSpanId = Parent.SpanId.ToHexString(); 1331_spanId = ActivitySpanId.CreateRandom().ToHexString(); 2157public override string ToString() => ToHexString(); 2179return ToHexString().GetHashCode(); 2209ActivityTraceId.SetSpanFromHexChars(ToHexString().AsSpan(), destination);
System\Diagnostics\DiagLinkedList.cs (1)
161vsb.Append(ac.SpanId.ToHexString());