diff --git a/Directory.Build.props b/Directory.Build.props index 52a07f53..e8e394dd 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -43,7 +43,7 @@ true true true - 10.0 + 11.0 All strict true diff --git a/docs/engineering/quality-gates.md b/docs/engineering/quality-gates.md index c113467c..218de609 100644 --- a/docs/engineering/quality-gates.md +++ b/docs/engineering/quality-gates.md @@ -41,7 +41,7 @@ kind follows the suppression policy in `slop-review.md`. repository-root `.globalconfig`, with the same winner-naming reason and a removal trigger. A file-scoped `.editorconfig` severity hides the diagnostic, but the analyzer still runs: Roslyn skips an analyzer only when all its diagnostics are off for the whole compilation. -- `LangVersion=14.0` and `AnalysisLevel=10.0` are deliberate numeric pins. Never replace either +- `LangVersion=14.0` and `AnalysisLevel=11.0` are deliberate numeric pins. Never replace either with `latest`. - C# 14 on net472 is unsupported by the platform documentation but deliberate repository practice, enabled by source polyfills. Future language changes move the numeric pin intentionally. diff --git a/tests/OpenCode.Sdk.Tools.Tests/Snapshots/SuppressionLedgerTests.Ledger_Should_Count_Every_Suppression_In_The_Repository.verified.txt b/tests/OpenCode.Sdk.Tools.Tests/Snapshots/SuppressionLedgerTests.Ledger_Should_Count_Every_Suppression_In_The_Repository.verified.txt index cfb3798c..2e79d072 100644 --- a/tests/OpenCode.Sdk.Tools.Tests/Snapshots/SuppressionLedgerTests.Ledger_Should_Count_Every_Suppression_In_The_Repository.verified.txt +++ b/tests/OpenCode.Sdk.Tools.Tests/Snapshots/SuppressionLedgerTests.Ledger_Should_Count_Every_Suppression_In_The_Repository.verified.txt @@ -11,7 +11,7 @@ slopwatch-suppress: 31 suppress-message: 1 build-switch .github/workflows/ci.yml [command line] RunAnalyzers = false -build-switch Directory.Build.props AnalysisLevel = 10.0 +build-switch Directory.Build.props AnalysisLevel = 11.0 build-switch Directory.Build.props AnalysisMode = All build-switch Directory.Build.props CodeAnalysisTreatWarningsAsErrors = true build-switch Directory.Build.props EnableNETAnalyzers = true