private IAsyncResult SyncTestInput(Action <int> resultHandler, Action <Exception> exceptionHandler)
        {
            resultHandler(MagicValue);
            var result = new DummyAsyncResult();

            result.MarkCompletedSync();
            return(result);
        }
        private IAsyncResult SyncErrorInput(Action <int> resultHandler, Action <Exception> exceptionHandler)
        {
            exceptionHandler(new NotSupportedException());
            var result = new DummyAsyncResult();

            result.MarkCompletedSync();
            return(result);
        }
 private IAsyncResult SyncErrorInput(Action<int> resultHandler, Action<Exception> exceptionHandler)
 {
     exceptionHandler(new NotSupportedException());
     var result = new DummyAsyncResult();
     result.MarkCompletedSync();
     return result;
 }
 private IAsyncResult SyncTestInput(Action<int> resultHandler, Action<Exception> exceptionHandler)
 {
     resultHandler(MagicValue);
     var result = new DummyAsyncResult();
     result.MarkCompletedSync();
     return result;
 }