internal string GetWorkItemStatus(bool detailed) { return(string.Format( ThreadPoolExecutor.SR.WorkItem_ExecutionTime, State, Utils.Since(ExecutionStart), statusProvider?.Invoke(State, detailed))); }