mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-11 21:49:06 +00:00
3b55ba3a0a
* Update SonarAnalyzer.CSharp * fix S3993: Custom attributes should be marked with "System.AttributeUsageAttribute" https://rules.sonarsource.com/csharp/RSPEC-3993/ * fix S6966: Awaitable method should be used Introduced abstractions for CancellationTokenSource.CancelAsync() and Stream.DisposeAsync() to avoid #ifdef. Supressed pipeStream.WriteAsync because it deadlocks the test. I assume because PipeStream doesn't override WriteAsync. https://rules.sonarsource.com/csharp/RSPEC-6966/ temp * fix S3431: "[ExpectedException]" should not be used Removed the Connect() from Multifactor_PublicKeyWithEmptyPassPhrase because the Exception is already thrown in the factory. https://rules.sonarsource.com/csharp/RSPEC-3431/ * fix S2325: Methods and properties that don't access instance data should be static This one is pretty redundant with CA1822 (which is also disabled in the tests). It caught a few more cases in the library itself, most of which can't be changed because they are public API. https://rules.sonarsource.com/csharp/RSPEC-2325/ * fix S127: "for" loop stop conditions should be invariant not sure if this one is worth having. The only cases it found are imho legitimate or not worth fixing, so I supressed them. https://rules.sonarsource.com/csharp/RSPEC-127/ * fix S1964: An abstract class should have both abstract and concrete methods Suppressed for public APIs, changed ExtendedReplyInfo to interface. https://rules.sonarsource.com/csharp/RSPEC-1694/ * Remove redundant test this is already covered by Test_PrivateKey_SSH2_Encrypted_ShouldThrowSshPassPhraseNullOrEmptyExceptionWhenPassphraseIsNull * Revert "fix S2325: Methods and properties that don't access instance data should be static" suppress it instead This reverts commit2020604958. * Revert "fix S127: "for" loop stop conditions should be invariant" suppress it instead This reverts commit1d8b4ac335.
28 lines
1.6 KiB
XML
28 lines
1.6 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
|
<CentralPackageVersionOverrideEnabled>false</CentralPackageVersionOverrideEnabled>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageVersion Include="Appveyor.TestLogger" Version="2.0.0" />
|
|
<PackageVersion Include="BenchmarkDotNet" Version="0.14.0" />
|
|
<PackageVersion Include="BouncyCastle.Cryptography" Version="2.4.0" />
|
|
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
|
|
<PackageVersion Include="coverlet.msbuild" Version="6.0.2" />
|
|
<PackageVersion Include="LiquidTestReports.Markdown" Version="1.0.9" />
|
|
<PackageVersion Include="Meziantou.Analyzer" Version="2.0.163" />
|
|
<!-- Must be kept at version 1.0.0 or higher, see https://github.com/sshnet/SSH.NET/pull/1288 for details. -->
|
|
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="1.0.0" />
|
|
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
|
|
<PackageVersion Include="MSTest.TestAdapter" Version="3.6.0" />
|
|
<PackageVersion Include="MSTest.TestFramework" Version="3.6.0" />
|
|
<PackageVersion Include="Moq" Version="4.20.72" />
|
|
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.7.70-alpha" />
|
|
<PackageVersion Include="PolySharp" Version="1.14.1" />
|
|
<PackageVersion Include="SonarAnalyzer.CSharp" Version="9.32.0.97167" />
|
|
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" />
|
|
<PackageVersion Include="System.Formats.Asn1" Version="8.0.1" />
|
|
<PackageVersion Include="Testcontainers" Version="3.10.0" />
|
|
</ItemGroup>
|
|
</Project>
|