public static IAwaiter <TResult> GetAwaiter <TResult>(this AsyncResult <TResult> target)
 {
     return(new AsyncResultAwaiter <IAsyncResult <TResult>, TResult>(target));
 }
 public static IAwaiter GetAwaiter(this AsyncResult target)
 {
     return(new AsyncResultAwaiter <IAsyncResult>(target));
 }