public async Task <string[]> TestNameOutput() { return(new List <string>() { MethodHelpers.GetCurrentMethod(), MethodHelpers.GetCurrentMethod(false), MethodHelpers.StackFrame(true), MethodHelpers.StackFrame(false), MethodHelpers.CallerMemberName(nameof(benchmark_dotnet), nameof(TestClass)), MethodHelpers.CallerMemberName <TestClass>() }.ToArray()); }
public string StackFrameFalse() => MethodHelpers.StackFrame(false);
public string StackFrame() => MethodHelpers.StackFrame(true);