title: How can I tell if a C# method is async/await via reflection?
body: <p>e.g.</p>
  
  <pre><code>class Foo { public async Task Bar() { await Task.Delay(500); } }
  </code></pre>
  
  <p>If we are reflecting over this class and method, how can I determine if this is an actual async/await method rather than simply a method that happens to return a Task?</p>
  
  <pre><code>class Foo { public Task Bar() { return Task.Delay(500); } }
  </code></pre>