title: How do I use a custom TaskAwaiter for tasks on .Net 4.5?
body: <p>I can create my own TaskAwaiter with .Net 4.0 by providing an extension method GetAwaiter on Task, but when running the code with .Net 4.5 this is not possible.</p>
  
  <p>The Task class on .Net 4.5 have a method called GetAwaiter, and my extension method would never be called.</p>
  
  <hr>
  
  <p><sub>
  My 1 comment:
  I can create a custom awaiter on another class (not Task), but async methods can only return Task or void, and wrappring every task/async-method call is not pratical/elegant.
  </sub></p>
  
  <p><sub>
  My 2 comment:
  What I need is to AUTOMATICALLY save data when the Task is created (or awaited) and retrieve this data on the continuation method, WITHOUT changing the synchronization context.
  </sub></p>
  
  <p><sub>
  My 3 comment:
  Everything works as expected with .Net 4.0 and my custom TaskAwaiter.
  </sub></p>