6 references to CreateRandom
Microsoft.AspNetCore.Components.Tests (1)
ComponentsActivitySourceTest.cs (1)
69
var httpContext = new ActivityContext(ActivityTraceId.
CreateRandom
(), ActivitySpanId.CreateRandom(), ActivityTraceFlags.Recorded);
Stress.ApiService (1)
TraceCreator.cs (1)
134
ActivityTraceId.
CreateRandom
(),
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (3)
1289
ActivityTraceId id = traceIdGenerator == null ? ActivityTraceId.
CreateRandom
() : traceIdGenerator();
1970
_hexString =
CreateRandom
()._hexString;
1977
_hexString =
CreateRandom
()._hexString;
System\Diagnostics\ActivityCreationOptions.cs (1)
136
ActivityTraceId id = traceIdGenerator == null ? ActivityTraceId.
CreateRandom
() : traceIdGenerator();