Fix #56 #57
Closed
Fix #56 #57
Annotations
11 warnings
|
Build the Zetian:
tests/Zetian.Tests/ConnectionTrackerTests.cs#L44
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build the Zetian:
tests/Zetian.Tests/ConnectionTrackerTests.cs#L38
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
|
Build the Zetian:
tests/Zetian.Tests/SmtpServerRaceConditionTests.cs#L320
Converting null literal or possible null value to non-nullable type.
|
|
Build the Zetian:
tests/Zetian.Tests/SmtpServerRaceConditionTests.cs#L67
Converting null literal or possible null value to non-nullable type.
|
|
Build the Zetian:
src/Zetian.Monitoring/Extensions/SmtpServerMonitoringExtensions.cs#L166
Possible null reference assignment.
|
|
Build the Zetian:
src/Zetian.Monitoring/Extensions/SmtpServerMonitoringExtensions.cs#L165
Possible null reference assignment.
|
|
Build the Zetian:
src/Zetian.Relay/Client/SmtpRelayClient.cs#L413
Possible null reference argument for parameter 'innerStream' in 'SslStream.SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback? userCertificateValidationCallback)'.
|
|
Build the Zetian:
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L223
Avoid inexact read with 'System.Net.Sockets.NetworkStream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
|
Build the Zetian:
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L74
Avoid inexact read with 'System.Net.Sockets.NetworkStream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
|
Build the Zetian:
src/Zetian/Internal/SmtpSession.cs#L791
'SslStream.CipherAlgorithm' is obsolete: 'KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.' (https://aka.ms/dotnet-warnings/SYSLIB0058)
|
|
Initialize CodeQL
Cannot build an overlay database because build-mode is set to "undefined" instead of "none". Falling back to creating a normal full database instead.
|
background
wait
wait-all
cancel
Loading