title: Task.WaitAll, how to find the tasks causing AggregateException
body: <p>Let's say that I got the following code:</p>
  
  <pre><code>var tasks = BuildTaskList();
  try
  {
      Task.WaitAll(tasks.ToArray());
  }
  catch (AggregateException exception)
  {
  
  }
  </code></pre>
  
  <p>How do I know which task threw which of the exceptions in <code>exception.InnerExceptions</code>?</p>