Add .NET 10 target #143
build.yml
on: push
Windows Integration Tests
8m 3s
Publish
Annotations
30 errors
|
Linux:
src/Renci.SshNet/PrivateKeyFile.SSHCOM.cs#L31
Call System.IDisposable.Dispose on object created by 'new SshDataStream(_data)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Linux:
src/Renci.SshNet/PrivateKeyFile.SSHCOM.cs#L56
Call System.IDisposable.Dispose on object created by 'new TripleDesCipher(key, new byte[8], CipherMode.CBC, pkcs7Padding: false)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Linux:
src/Renci.SshNet/Sftp/SftpFileStream.cs#L1164
'_session != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Linux:
src/Renci.SshNet/NetConfClient.cs#L302
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Linux:
src/Renci.SshNet/Netconf/NetConfSession.cs#L222
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Linux:
src/Renci.SshNet/Netconf/NetConfSession.cs#L216
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Linux:
src/Renci.SshNet/Channels/ChannelDirectTcpip.cs#L296
'socket != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Linux:
src/Renci.SshNet/Channels/ChannelDirectTcpip.cs#L127
'_socket is null' is always 'false'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Linux:
src/Renci.SshNet/Channels/ChannelForwardedTcpip.cs#L167
'socket != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Linux:
src/Renci.SshNet/SshClient.cs#L328
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Windows:
src/Renci.SshNet/PrivateKeyFile.PuTTY.cs#L166
Call System.IDisposable.Dispose on object created by 'new SshDataStream(_publicKey)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Windows:
src/Renci.SshNet/PrivateKeyFile.PuTTY.cs#L170
Call System.IDisposable.Dispose on object created by 'new SshDataStream(privateKey)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Windows:
src/Renci.SshNet/PrivateKeyFile.SSHCOM.cs#L56
Call System.IDisposable.Dispose on object created by 'new TripleDesCipher(key, new byte[8], CipherMode.CBC, pkcs7Padding: false)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Windows:
src/Renci.SshNet/PrivateKeyFile.SSHCOM.cs#L64
Call System.IDisposable.Dispose on object created by 'new SshDataStream(keyData)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Windows:
src/Renci.SshNet/PrivateKeyFile.SSHCOM.cs#L31
Call System.IDisposable.Dispose on object created by 'new SshDataStream(_data)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Windows:
src/Renci.SshNet/Netconf/NetConfSession.cs#L222
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Windows:
src/Renci.SshNet/Netconf/NetConfSession.cs#L216
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Windows:
src/Renci.SshNet/NetConfClient.cs#L302
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Windows:
src/Renci.SshNet/Common/Lock.cs#L10
Do not lock on objects with weak identity (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2002)
|
|
Windows:
src/Renci.SshNet/SshClient.cs#L328
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Windows Integration Tests:
src/Renci.SshNet/PrivateKeyFile.PuTTY.cs#L170
Call System.IDisposable.Dispose on object created by 'new SshDataStream(privateKey)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Windows Integration Tests:
src/Renci.SshNet/PrivateKeyFile.PuTTY.cs#L166
Call System.IDisposable.Dispose on object created by 'new SshDataStream(_publicKey)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Windows Integration Tests:
src/Renci.SshNet/PrivateKeyFile.SSHCOM.cs#L31
Call System.IDisposable.Dispose on object created by 'new SshDataStream(_data)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Windows Integration Tests:
src/Renci.SshNet/PrivateKeyFile.SSHCOM.cs#L64
Call System.IDisposable.Dispose on object created by 'new SshDataStream(keyData)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Windows Integration Tests:
src/Renci.SshNet/PrivateKeyFile.SSHCOM.cs#L56
Call System.IDisposable.Dispose on object created by 'new TripleDesCipher(key, new byte[8], CipherMode.CBC, pkcs7Padding: false)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Windows Integration Tests:
src/Renci.SshNet/SshClient.cs#L328
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Windows Integration Tests:
src/Renci.SshNet/NetConfClient.cs#L302
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Windows Integration Tests:
src/Renci.SshNet/Netconf/NetConfSession.cs#L222
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Windows Integration Tests:
src/Renci.SshNet/Netconf/NetConfSession.cs#L216
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
|
|
Windows Integration Tests:
src/Renci.SshNet/Common/Lock.cs#L10
Do not lock on objects with weak identity (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2002)
|