Events: Efficiency & Performance Improvements #498
Annotations
30 warnings
pipeline-ubuntu-latest-dotnet-7.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-7.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-7.0.x:
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.
|
pipeline-ubuntu-latest-dotnet-7.0.x:
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.
|
pipeline-ubuntu-latest-dotnet-7.0.x:
Tests/HiveMQtt.Test/HiveMQClient/PublishTest.cs#L384
Dereference of a possibly null reference.
|
pipeline-ubuntu-latest-dotnet-7.0.x:
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.
|
pipeline-ubuntu-latest-dotnet-7.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-7.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-7.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-7.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-6.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-6.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-6.0.x:
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.
|
pipeline-ubuntu-latest-dotnet-6.0.x:
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.
|
pipeline-ubuntu-latest-dotnet-6.0.x:
Tests/HiveMQtt.Test/HiveMQClient/PublishTest.cs#L384
Dereference of a possibly null reference.
|
pipeline-ubuntu-latest-dotnet-6.0.x:
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.
|
pipeline-ubuntu-latest-dotnet-6.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-6.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-6.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-6.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-8.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-8.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-8.0.x:
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.
|
pipeline-ubuntu-latest-dotnet-8.0.x:
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.
|
pipeline-ubuntu-latest-dotnet-8.0.x:
Tests/HiveMQtt.Test/HiveMQClient/PublishTest.cs#L384
Dereference of a possibly null reference.
|
pipeline-ubuntu-latest-dotnet-8.0.x:
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.
|
pipeline-ubuntu-latest-dotnet-8.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-8.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-8.0.x:
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)
|
pipeline-ubuntu-latest-dotnet-8.0.x:
Tests/HiveMQtt.Test/HiveMQClient/PublishTest.cs#L395
Single-line comment should be preceded by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1515.md)
|