Events: Efficiency & Performance Improvements #496
Annotations
2 errors and 10 warnings
|
Dotnet Cake Test
The operation was canceled.
|
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/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/PublishTest.cs#L221
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:
Tests/HiveMQtt.Test/HiveMQClient/PublishTest.cs#L310
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:
Tests/HiveMQtt.Test/HiveMQClient/PublishTest.cs#L384
Dereference of a possibly null reference.
|
Dotnet Cake Build:
Tests/HiveMQtt.Test/HiveMQClient/PublishTest.cs#L396
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:
Tests/HiveMQtt.Test/HiveMQClient/LastWillAndTestamentBuilderTest.cs#L44
Opening square brackets should not be preceded by a space. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1010.md)
|
Dotnet Cake Build:
Tests/HiveMQtt.Test/HiveMQClient/LWTTest.cs#L33
Opening square brackets should not be preceded by a space. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1010.md)
|
Dotnet Cake Build:
Tests/HiveMQtt.Test/HiveMQClient/LWTTest.cs#L64
Opening square brackets should not be preceded by a space. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1010.md)
|
Dotnet Cake Build:
Tests/HiveMQtt.Test/HiveMQClient/PublishTest.cs#L180
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|
Loading