Skip to content

C#: Use .NET 8

C#: Use .NET 8 #2948

Triggered via pull request December 7, 2023 15:30
Status Failure
Total duration 18m 26s
Artifacts

csharp-qltest.yml

on: pull_request
Matrix: qltest
Matrix: unit-tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 12 warnings
qltest (2/2)
Process completed with exit code 1.
qltest (1/2)
Process completed with exit code 1.
unit-tests (ubuntu-latest): csharp/extractor/Semmle.Extraction.CSharp/Entities/UsingDirective.cs#L23
Possible null reference argument for parameter 'expression' in 'SymbolInfo CSharpExtensions.GetSymbolInfo(SemanticModel? semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken = default(CancellationToken))'.
unit-tests (ubuntu-latest): csharp/extractor/Semmle.Extraction.CSharp/Extractor/Analyser.cs#L266
Member 'AnalyseNamespace' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
unit-tests (ubuntu-latest): csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs#L330
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
unit-tests (windows-2019): csharp/extractor/Semmle.Extraction.CSharp/Entities/UsingDirective.cs#L23
Possible null reference argument for parameter 'expression' in 'SymbolInfo CSharpExtensions.GetSymbolInfo(SemanticModel? semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken = default(CancellationToken))'.
unit-tests (windows-2019): csharp/extractor/Semmle.Extraction.CSharp/Extractor/Analyser.cs#L266
Member 'AnalyseNamespace' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
unit-tests (windows-2019): csharp/autobuilder/Semmle.Autobuild.CSharp.Tests/BuildScripts.cs#L330
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
stubgentest: csharp/extractor/Semmle.Extraction.CSharp/Entities/UsingDirective.cs#L23
Possible null reference argument for parameter 'expression' in 'SymbolInfo CSharpExtensions.GetSymbolInfo(SemanticModel? semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken = default(CancellationToken))'.
stubgentest: csharp/extractor/Semmle.Extraction.CSharp/Extractor/Analyser.cs#L266
Member 'AnalyseNamespace' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
qltest (2/2): csharp/extractor/Semmle.Extraction.CSharp/Entities/UsingDirective.cs#L23
Possible null reference argument for parameter 'expression' in 'SymbolInfo CSharpExtensions.GetSymbolInfo(SemanticModel? semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken = default(CancellationToken))'.
qltest (2/2): csharp/extractor/Semmle.Extraction.CSharp/Extractor/Analyser.cs#L266
Member 'AnalyseNamespace' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
qltest (1/2): csharp/extractor/Semmle.Extraction.CSharp/Entities/UsingDirective.cs#L23
Possible null reference argument for parameter 'expression' in 'SymbolInfo CSharpExtensions.GetSymbolInfo(SemanticModel? semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken = default(CancellationToken))'.
qltest (1/2): csharp/extractor/Semmle.Extraction.CSharp/Extractor/Analyser.cs#L266
Member 'AnalyseNamespace' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)