فهرست منبع

Removed unnecessary override of Close().

drieseng 9 سال پیش
والد
کامیت
b59573506a
1فایلهای تغییر یافته به همراه0 افزوده شده و 9 حذف شده
  1. 0 9
      src/Renci.SshNet/Sftp/SftpFileStream.cs

+ 0 - 9
src/Renci.SshNet/Sftp/SftpFileStream.cs

@@ -292,15 +292,6 @@ namespace Renci.SshNet.Sftp
             Dispose(false);
         }
 
-        /// <summary>
-        /// Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
-        /// </summary>
-        public override void Close()
-        {
-            Dispose(true);
-            GC.SuppressFinalize(this);
-        }
-
         /// <summary>
         /// Clears all buffers for this stream and causes any buffered data to be written to the file.
         /// </summary>