浏览代码

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>