Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<ReportAnalyzer>true</ReportAnalyzer>
<AnalysisLevel>10.0</AnalysisLevel>
<AnalysisLevel>11.0</AnalysisLevel>
<AnalysisMode>All</AnalysisMode>
<Features>strict</Features>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
Expand Down
2 changes: 1 addition & 1 deletion docs/engineering/quality-gates.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading