4 references to s_uniqSuffix
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.GenerateRootId.netcoreapp.cs (4)
16Debug.Assert(s_uniqSuffix.Length < 50); // Ensure stackalloc not too large 17Span<char> result = stackalloc char[1 + 16 + s_uniqSuffix.Length]; // max length needed 21s_uniqSuffix.AsSpan().CopyTo(result.Slice(1 + charsWritten)); 22return new string(result.Slice(0, 1 + charsWritten + s_uniqSuffix.Length));