E2E Test Coverage Part 2 & Add .NET 9.0 Support #663
Annotations
5 errors and 11 warnings
pipeline-ubuntu-latest-dotnet-7.0.x
Process completed with exit code 1.
|
pipeline-ubuntu-latest-dotnet-8.0.x
The job was canceled because "ubuntu-latest_7_0_x" failed.
|
pipeline-ubuntu-latest-dotnet-8.0.x
The operation was canceled.
|
pipeline-ubuntu-latest-dotnet-9.0.x
The job was canceled because "ubuntu-latest_7_0_x" failed.
|
pipeline-ubuntu-latest-dotnet-9.0.x
The operation was canceled.
|
pipeline-ubuntu-latest-dotnet-7.0.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
pipeline-ubuntu-latest-dotnet-9.0.x:
Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Possible null reference argument for parameter 'buffer' in 'Task MemoryStream.WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)'.
|
pipeline-ubuntu-latest-dotnet-9.0.x:
Source/HiveMQtt/Client/HiveMQClient.cs#L262
Possible null reference return.
|
pipeline-ubuntu-latest-dotnet-9.0.x:
Source/HiveMQtt/Client/internal/Validator.cs#L43
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1045)
|
pipeline-ubuntu-latest-dotnet-9.0.x:
Source/HiveMQtt/Client/internal/Validator.cs#L114
Use 'string.Contains(char)' instead of 'string.Contains(string)' when searching for a single character (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1847)
|
pipeline-ubuntu-latest-dotnet-9.0.x:
Source/HiveMQtt/Client/internal/Validator.cs#L131
Use 'string.Contains(char)' instead of 'string.Contains(string)' when searching for a single character (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1847)
|
pipeline-ubuntu-latest-dotnet-9.0.x:
Source/HiveMQtt/Client/internal/Validator.cs#L121
Indexing can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0056)
|
pipeline-ubuntu-latest-dotnet-9.0.x:
Source/HiveMQtt/Client/Connection/ConnectionManager.cs#L143
Cancel synchronously blocks. Await CancelAsync instead. (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD103.md)
|
pipeline-ubuntu-latest-dotnet-9.0.x:
Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Change the 'WriteAsync' method call to use the 'Stream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)' overload (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835)
|
pipeline-ubuntu-latest-dotnet-9.0.x:
Source/HiveMQtt/Client/HiveMQClientUtil.cs#L115
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1045)
|
pipeline-ubuntu-latest-dotnet-9.0.x:
Source/HiveMQtt/MQTT5/Types/TopicFilter.cs#L18
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
|