فهرست منبع

Fix build when targeting .NET Framework 3.5 as Func only supports covariance on .NET Framework 4.0 and higher.

Gert Driesen 11 سال پیش
والد
کامیت
117e079011
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Renci.SshClient/Renci.SshNet.Tests/Classes/CipherInfoTest.cs

+ 1 - 1
Renci.SshClient/Renci.SshNet.Tests/Classes/CipherInfoTest.cs

@@ -18,7 +18,7 @@ namespace Renci.SshNet.Tests.Classes
         public void CipherInfoConstructorTest()
         {
             int keySize = 0; // TODO: Initialize to an appropriate value
-            Func<byte[], byte[], BlockCipher> cipher = null; // TODO: Initialize to an appropriate value
+            Func<byte[], byte[], Cipher> cipher = null; // TODO: Initialize to an appropriate value
             CipherInfo target = new CipherInfo(keySize, cipher);
             Assert.Inconclusive("TODO: Implement code to verify target");
         }