public static StackTrace Create(System.Diagnostics.StackTrace trace) => new StackTrace( trace.GetFrames()?.Select(StackFrame.Create)?.ToArray(), trace.GetCapturedTraces()?.Select(StackTrace.Create)?.ToArray());
public static StackTrace Create(System.Diagnostics.StackTrace trace) => new StackTrace( trace.GetFrames()?.Select(StackFrame.Create)?.ToArray(), trace.GetCapturedTraces()?.Select(StackTrace.Create)?.ToArray());