diff --git a/src/Renci.SshNet/Common/AsyncResult.cs b/src/Renci.SshNet/Common/AsyncResult.cs index c5c643af..01c54bca 100644 --- a/src/Renci.SshNet/Common/AsyncResult.cs +++ b/src/Renci.SshNet/Common/AsyncResult.cs @@ -189,7 +189,7 @@ namespace Renci.SshNet.Common /// Waits until the asynchronous operation completes, and then returns the value generated by the asynchronous operation. /// /// Invocation result - new public TResult EndInvoke() + public new TResult EndInvoke() { base.EndInvoke(); // Wait until operation has completed return _result; // Return the result (if above didn't throw)