Quellcode durchsuchen

Use explicit private modifier for consistency.

drieseng vor 9 Jahren
Ursprung
Commit
1388766a03
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/Renci.SshNet/Session.cs

+ 1 - 1
src/Renci.SshNet/Session.cs

@@ -1685,7 +1685,7 @@ namespace Renci.SshNet
         /// <exception cref="SshConnectionException">The socket is closed.</exception>
         /// <exception cref="SshOperationTimeoutException">The read has timed-out.</exception>
         /// <exception cref="SocketException">The read failed.</exception>
-        void SocketRead(int length, byte[] buffer)
+        private void SocketRead(int length, byte[] buffer)
         {
             if (SocketAbstraction.Read(_socket, buffer, 0, length, InfiniteTimeSpan) > 0)
             {