Skip to content

build: AnalysisLevel 11 (#829, step 2) - #864

Merged
Blind-Striker merged 1 commit into
masterfrom
build/829-analysislevel-11
Nov 14, 2026
Merged

Blind-Striker merged 1 commit into
masterfrom
build/829-analysislevel-11

Conversation

@Blind-Striker

Copy link
Copy Markdown
Collaborator

What

Step 2 of #829: AnalysisLevel moves from 10.0 to 11.0.

  • With Microsoft.CodeAnalysis.NetAnalyzers 11.0.100 and AnalysisMode All, level 11 enables CA1517, CA1876, CA1877, CA2026, CA2027 and CA2028 (the packaged analysislevel_10_all and analysislevel_11_all rule sets differ only there, plus one dropped CA2267 entry).
  • None of them fires on this repository. Two full solution builds on the pinned SDK, one at level 10 and one at level 11, each with warnings-as-errors switched off so that nothing stops early, report zero diagnostics; EffectiveAnalysisLevel resolves to 11.0, so the level is not falling back.
  • No code change, no suppression. The numeric pin in docs/engineering/quality-gates.md and the suppression ledger's build-switch row follow the property.

ADR-0034 impact

None on the packages: no public-surface change and no behaviour change, so no CHANGELOG line. Package validation against 1.1.0 is unaffected.

Verification

Linux, at this head: the Release build with 0 warnings and 0 errors (warnings as errors), both format passes, the slop scan, the clone gate (nothing new), and the Tools test project, 2,787 of 2,787 (Native AOT excluded, as CI runs it).

Refs #829

AnalysisLevel moves from 10.0 to 11.0. With NetAnalyzers 11.0.100, level
11 enables CA1517, CA1876, CA1877, CA2026, CA2027 and CA2028 under
AnalysisMode All; none of them fires here. Two full solution builds,
at level 10 and level 11 with warnings-as-errors off, both report zero
diagnostics, and EffectiveAnalysisLevel resolves to 11.0. The numeric
pin in quality-gates.md and the suppression ledger's build-switch row
follow the property.
@Blind-Striker
Blind-Striker added this pull request to the merge queue Nov 14, 2026
Merged via the queue into master with commit cdf2216 Nov 14, 2026
17 checks passed
@Blind-Striker
Blind-Striker deleted the build/829-analysislevel-11 branch November 14, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant