Skip to content

Add RG0043: Warn on files exceeding 1000 lines #256

Add RG0043: Warn on files exceeding 1000 lines

Add RG0043: Warn on files exceeding 1000 lines #256

Re-run triggered November 23, 2025 16:12
Status Success
Total duration 57s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
build: RG.CodeAnalyzer/RG.CodeAnalyzer/RGDiagnosticAnalyzer.cs#L2212
Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
build: RG.CodeAnalyzer/RG.CodeAnalyzer/RGDiagnosticAnalyzer.cs#L13
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
build: RG.CodeAnalyzer/RG.CodeAnalyzer/RGDiagnosticAnalyzer.cs#L2212
Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
build: RG.CodeAnalyzer/RG.CodeAnalyzer/RGDiagnosticAnalyzer.cs#L13
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)