Skip to content

Commit f24a5d6

Browse files
authored
fix IDE0350 warnings with .NET SDK 9.0.300 (#1645)
test\Renci.SshNet.IntegrationTests\OldIntegrationTests\SshCommandTest.cs(460,21,460,22): warning IDE0350: Lambda expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0350)
1 parent d08c4aa commit f24a5d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Renci.SshNet.IntegrationTests/OldIntegrationTests/SshCommandTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,14 +457,14 @@ public void Test_MultipleThread_100_MultipleConnections()
457457
client.Connect();
458458
return client;
459459
},
460-
(int counter, ParallelLoopState pls, SshClient client) =>
460+
(counter, pls, client) =>
461461
{
462462
var result = ExecuteTestCommand(client);
463463
Debug.WriteLine(string.Format("TestMultipleThreadMultipleConnections #{0}", counter));
464464
Assert.IsTrue(result);
465465
return client;
466466
},
467-
(SshClient client) =>
467+
client =>
468468
{
469469
client.Disconnect();
470470
client.Dispose();

0 commit comments

Comments
 (0)