Update packages and apply static code analysis suggestions #18
Annotations
12 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build with dotnet:
src/CodeAnalysis.TestTools/Exceptions/VerificationFailed.cs#L6
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'VerificationFailed(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Build with dotnet:
src/CodeAnalysis.TestTools/Exceptions/AnalyzerCrashed.cs#L6
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'AnalyzerCrashed(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Build with dotnet:
src/CodeAnalysis.TestTools/Exceptions/IncompleteSetup.cs#L6
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'IncompleteSetup(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Build with dotnet:
src/CodeAnalysis.TestTools/Exceptions/LanguageConflict.cs#L6
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'LanguageConflict(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Build with dotnet:
src/CodeAnalysis.TestTools/Exceptions/ParseError.cs#L6
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'ParseError(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Build with dotnet:
src/CodeAnalysis.TestTools/References/NuGetLatestVersions.cs#L7
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'private' constructor 'NuGetLatestVersions(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Build with dotnet:
src/CodeAnalysis.TestTools/References/NuGetPackage.cs#L30
Remove this setter, or make this property init-only. (https://github.com/Qowaiv/qowaiv-analyzers/blob/main/rules/QW0011.md)
|
Build with dotnet:
src/CodeAnalysis.TestTools/CodeAnalysis.TestTools.csproj#L1
Define the <IsPublishable> node explicitly. (https://dotnet-project-file-analyzers.github.io/rules/Proj0400.html)
|
Build with dotnet:
src/CodeAnalysis.TestTools/CodeAnalysis.TestTools.csproj#L1
Define the <OutputType> node explicitly. (https://dotnet-project-file-analyzers.github.io/rules/Proj0010.html)
|
Build with dotnet:
src/CodeAnalysis.TestTools/CodeAnalysis.TestTools.csproj#L1
Define the <Description> or <PackageDescription> node explicitly or define the <IsPackable> node with value 'false'. (https://dotnet-project-file-analyzers.github.io/rules/Proj0202.html)
|
Loading