Events: Efficiency & Performance Improvements #494
Annotations
10 warnings
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/UtilTest.cs#L121
A closing brace should not be preceded by a blank line. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1508.md)
|
Loading