Repository navigation
build: AnalysisLevel 11 (#829, step 2) - #864
Merged
Merged
Conversation
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.
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Step 2 of #829:
AnalysisLevelmoves from10.0to11.0.Microsoft.CodeAnalysis.NetAnalyzers11.0.100 andAnalysisMode All, level 11 enables CA1517, CA1876, CA1877, CA2026, CA2027 and CA2028 (the packagedanalysislevel_10_allandanalysislevel_11_allrule sets differ only there, plus one dropped CA2267 entry).EffectiveAnalysisLevelresolves to11.0, so the level is not falling back.docs/engineering/quality-gates.mdand 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.0is 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