Github CI: Build and push multi-arch package (#166) #518
Annotations
10 warnings
Dotnet Cake Build:
Source/HiveMQtt/Client/HiveMQClient.cs#L500
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet Cake Build:
Source/HiveMQtt/Client/internal/Validator.cs#L43
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time.
|
Dotnet Cake Build:
Source/HiveMQtt/Client/HiveMQClientUtil.cs#L116
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time.
|
Dotnet Cake Build:
Source/HiveMQtt/Client/HiveMQClient.cs#L500
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet Cake Build:
Source/HiveMQtt/Client/HiveMQClient.cs#L500
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet Cake Build:
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)
|
Dotnet Cake Build:
Source/HiveMQtt/Client/HiveMQClient.cs#L506
Cancel synchronously blocks. Await CancelAsync instead. (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD103.md)
|
Dotnet Cake Build:
Source/HiveMQtt/Client/HiveMQClientUtil.cs#L116
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1045)
|
Dotnet Cake Build:
Tests/HiveMQtt.Test/HiveMQClient/Operational/QueuedPublishesTest.cs#L80
Possible null reference argument for parameter 'payload' in 'Task<PublishResult> HiveMQClient.PublishAsync(string topic, byte[] payload, QualityOfService qos = QualityOfService.AtMostOnceDelivery)'.
|
Dotnet Cake Build:
Tests/HiveMQtt.Test/HiveMQClient/PublishTest.cs#L224
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Loading