Skip to content

C#: Replace initializer splitting with an ObjectInitMethod. #8592

C#: Replace initializer splitting with an ObjectInitMethod.

C#: Replace initializer splitting with an ObjectInitMethod. #8592

Triggered via pull request November 26, 2025 14:25
Status Failure
Total duration 5m 35s
Artifacts

csharp-qltest.yml

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

Annotations

1 error and 4 warnings
stubgentest
Process completed with exit code 1.
unit-tests (ubuntu-latest): csharp/extractor/Semmle.Extraction.CSharp/Entities/ObjectInitMethod.cs#L16
Member 'Name' 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-latest): csharp/extractor/Semmle.Extraction.CSharp/Entities/ObjectInitMethod.cs#L16
Member 'Name' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
stubgentest: csharp/extractor/Semmle.Extraction.CSharp/Entities/ObjectInitMethod.cs#L16
Member 'Name' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
stubgentest: csharp/extractor/Semmle.Extraction.CSharp/Entities/ObjectInitMethod.cs#L16
Member 'Name' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)