Преглед на файлове

Modify TryAuthenticate to static.

drieseng преди 9 години
родител
ревизия
7e2836a7a7
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/Renci.SshNet/ClientAuthentication.cs

+ 4 - 4
src/Renci.SshNet/ClientAuthentication.cs

@@ -46,10 +46,10 @@ namespace Renci.SshNet
 
         }
 
-        private bool TryAuthenticate(ISession session,
-                                     AuthenticationState authenticationState,
-                                     ICollection<string> allowedAuthenticationMethods,
-                                     ref SshAuthenticationException authenticationException)
+        private static bool TryAuthenticate(ISession session,
+                                            AuthenticationState authenticationState,
+                                            ICollection<string> allowedAuthenticationMethods,
+                                            ref SshAuthenticationException authenticationException)
         {
             if (allowedAuthenticationMethods.Count == 0)
             {