Repository navigation
Update dependency StyleCop.Analyzers to 1.3.180 - #440
renovate[bot] wants to merge 1 commit into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the repository-wide StyleCop analyzer dependency update.
No open issues 🎉
What changed in this PR
Updates the repository-wide StyleCop analyzer dependency to the stable release, keeping code-style checks current without changing application code.
Changes:
- Upgrades
StyleCop.Analyzersfrom1.3.151-betato1.3.180.
| File | Description |
|---|---|
Directory.Packages.props |
Updates the global StyleCop analyzer package version. |
Review effort: Balanced
|
One or more custom setup steps configured for this repository failed during this Copilot code review run: Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review. Note You can configure setup steps for Copilot code review separately from Copilot cloud agent with a |
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
1.3.151-beta→1.3.180Release Notes
DotNetAnalyzers/StyleCopAnalyzers (StyleCop.Analyzers)
v1.3.180Compare Source
This is the first stable StyleCop.Analyzers release since 1.1.118. It includes the entire 1.2 beta line and the 1.3 revival: the analyzers now understand C# 8 through the C# 15 previews, many long-standing bugs are fixed, and the project is once again actively maintained. Thank you to everyone who contributed code, reviews, translations and bug reports over the long gap.
Highlights
allows ref struct, C# 14 extension blocks and thefieldkeyword, and C# 15 preview unions with theclosedandsafemodifiers, instead of ignoring that syntax or crashing on it. (#4142, #4139, #4137, #4163, #4148, #4191, #4193)?:) expressions are laid out consistently, SA1315 requires overriding and implementing parameters to keep their inherited names, SA1317 reports identifiers that use letters outside basic Latin A–Z, SA1653 reports<summary>documentation on more than one part of a partial type, and SA1654 reports escaped generic brackets increfs (for exampleList<T>vsList{T}). SX1412 is an opt-in alternative to SA1412 that requires UTF-8 without a BOM. All of these except SX1412 are on by default as warnings. (#3942, #4299, #4318, #4314, #4315, #4328).editorconfig. New settings includeorderingRules.memberKindOrder,orderingRules.accessibilityOrderandlayoutRules.allowBracelessIfStatements(bracelessifs are off by default; the accessibility order default is unchanged). (#4221, #3285, #4324, #4359, #4319)zh-CN) resources and documentation, finishes the Czech translations, and includes more translations of code-fix documentation text (Czech, Dutch, Russian and others). Rule documentation and status are published on GitHub Pages. (#4285, #4286, #3374, #3944, #3900, #4220, #4218)Behavior changes worth knowing about
Upgrading from 1.1.118, or from a 1.2 beta, may produce new or different diagnostics:
<summary>on more than one part, but ignores generated partial declarations such as WPF*.g.csfiles. (#4148, #4149, #4152, #4308, #4299, #4393)IntPtrandUIntPtrin XML documentationcrefs, or in shared source compiled for targets wherenintisn't equivalent. SA1121 and SA1125 also report System types in using alias targets. (#4287, #4395, #4175)includeInferredTupleElementNamesis off. (#4202)_forforeachvariables andusingdeclarations. (#4203)filemodifier as an access modifier. (#4198)protected readonlyfields when SA1307 is enabled. (#4217)&,|,^) and>>>. SA1408 reports??mixed with&&or||without parentheses. (#4289, #4323)extern aliasdirectives using the same placement setting asusingdirectives. (#4313)[NotNullWhen(true)] out string? foo. (#4321)maintainabilityRules.topLevelTypessetting. (#4281, #4301, #4316)documentInterfacessetting. WithdocumentInterfaces: false, public interfaces and their members are still required whendocumentExposedElementsis on. WithdocumentInterfaces: "exposed", members of interfaces that aren't actually exposed are not reported. (#3140, #4346, #4343)extern alias. (#4341)?and:lines line up and are indented past the condition's last line. The SA1143 code fix keeps multi-line branches intact. (#4336, #4374, #4392).symbols.nupkgis gone, because PDBs are now embedded in the DLLs. (#4173)All changes
Fixes
!) by @pantosha in #3071Configuration
📅 Schedule: (in timezone America/Los_Angeles)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.