Update Examples to .NET 8.0 #469
Annotations
30 warnings
pipeline-ubuntu-latest-dotnet-7.0.x:
Source/HiveMQtt/Client/Exceptions/HiveMQttClientException.cs#L40
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
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/HiveMQClient.cs#L244
Object initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0017)
|
pipeline-ubuntu-latest-dotnet-7.0.x:
Source/HiveMQtt/Client/HiveMQClient.cs#L245
Object initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0017)
|
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/UnsubscribeBuilderTest.cs#L107
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-7.0.x:
Tests/HiveMQtt.Test/HiveMQClient/ConnectTest.cs#L40
Lambda expression can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0200)
|
pipeline-ubuntu-latest-dotnet-7.0.x:
Tests/HiveMQtt.Test/HiveMQClient/ConnectTest.cs#L40
Use expression body for lambda expression (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0053)
|
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-7.0.x:
Tests/HiveMQtt.Test/HiveMQClient/LastWillAndTestamentBuilderTest.cs#L54
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
pipeline-ubuntu-latest-dotnet-6.0.x:
Source/HiveMQtt/Client/Exceptions/HiveMQttClientException.cs#L40
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
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/HiveMQClient.cs#L244
Object initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0017)
|
pipeline-ubuntu-latest-dotnet-6.0.x:
Source/HiveMQtt/Client/HiveMQClient.cs#L245
Object initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0017)
|
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/UnsubscribeBuilderTest.cs#L107
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:
Tests/HiveMQtt.Test/HiveMQClient/OptionsTest.cs#L66
Lambda expression can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0200)
|
pipeline-ubuntu-latest-dotnet-6.0.x:
Tests/HiveMQtt.Test/HiveMQClient/ConnectTest.cs#L40
Lambda expression can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0200)
|
pipeline-ubuntu-latest-dotnet-6.0.x:
Tests/HiveMQtt.Test/HiveMQClient/ConnectTest.cs#L40
Use expression body for lambda expression (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0053)
|
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/Exceptions/HiveMQttClientException.cs#L40
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
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/HiveMQClient.cs#L244
Object initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0017)
|
pipeline-ubuntu-latest-dotnet-8.0.x:
Source/HiveMQtt/Client/HiveMQClient.cs#L245
Object initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0017)
|
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/UnsubscribeBuilderTest.cs#L107
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:
Tests/HiveMQtt.Test/HiveMQClient/OptionsTest.cs#L66
Lambda expression can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0200)
|
pipeline-ubuntu-latest-dotnet-8.0.x:
Tests/HiveMQtt.Test/HiveMQClient/ConnectTest.cs#L40
Lambda expression can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0200)
|
pipeline-ubuntu-latest-dotnet-8.0.x:
Tests/HiveMQtt.Test/HiveMQClient/ConnectTest.cs#L40
Use expression body for lambda expression (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0053)
|
pipeline-ubuntu-latest-dotnet-8.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)
|