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