private object GetTaskResult(Task task) { return task.GetType().GetProperty("Result").GetValue(task); }