Skip to content

[Sonic] Move a few more Razor features to be sonic compatible - #84069

Merged
davidwengier merged 59 commits into
features/sonicfrom
dev/dawengie/MoreSonicTooling
Jun 12, 2026
Merged

davidwengier merged 59 commits into
features/sonicfrom
dev/dawengie/MoreSonicTooling

Add Razor selection range SONIC coverage

8d16ffc
Select commit
Loading
Failed to load commit list.
Azure Pipelines / roslyn-CI (Correctness Correctness_Analyzers) failed Jun 9, 2026 in 28m 49s

Correctness Correctness_Analyzers failed

Annotations

Check failure on line 19 in src/Razor/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorCSharpDocumentWriter.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / roslyn-CI (Correctness Correctness_Analyzers)

src/Razor/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorCSharpDocumentWriter.cs#L19

src/Razor/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorCSharpDocumentWriter.cs(19,39): error CA1068: (NETCORE_ENGINEERING_TELEMETRY=Build) Method 'Microsoft.AspNetCore.Razor.Language.RazorCSharpDocumentWriter.Write(Microsoft.AspNetCore.Razor.Language.Intermediate.DocumentIntermediateNode, Microsoft.AspNetCore.Razor.Language.RazorCodeDocument, bool, System.Threading.CancellationToken, bool)' should take CancellationToken as the last parameter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1068)

Check failure on line 19 in src/Razor/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorCSharpDocumentWriter.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / roslyn-CI (Correctness Correctness_Analyzers)

src/Razor/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorCSharpDocumentWriter.cs#L19

src/Razor/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorCSharpDocumentWriter.cs(19,39): error CA1068: (NETCORE_ENGINEERING_TELEMETRY=Build) Method 'Microsoft.AspNetCore.Razor.Language.RazorCSharpDocumentWriter.Write(Microsoft.AspNetCore.Razor.Language.Intermediate.DocumentIntermediateNode, Microsoft.AspNetCore.Razor.Language.RazorCodeDocument, bool, System.Threading.CancellationToken, bool)' should take CancellationToken as the last parameter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1068)