Переглянути джерело

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)
             {