Refactor collection initializers across projects #228
Annotations
1 error, 10 warnings, and 1 notice
|
Test the Zetian
Process completed with exit code 1.
|
|
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#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
|
Build the Zetian:
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
|
Build the Zetian:
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L52
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
|
Build the Zetian:
src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L52
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
|
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.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/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)
|
|
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)
|
|
|
background
wait
wait-all
cancel
Loading