Skip to content

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

C#: Replace initializer splitting with an ObjectInitMethod.

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

Triggered via pull request November 27, 2025 10:09
Status Success
Total duration 3m 58s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: CodeQL-Build
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
CodeQL-Build (actions): 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)
CodeQL-Build (actions): 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)
CodeQL-Build (csharp): 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)
CodeQL-Build (csharp): 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)