diff --git a/ChangeLog.md b/ChangeLog.md index 5e03a0c675..d47d361789 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add analyzer "Put expression body on its own line" [RCS0062](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0062) ([PR](https://github.com/dotnet/roslynator/pull/1593) by @cbersch) + - Affects analyzer [RCS1016](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1016) + - Affects refacoring [RR0169](https://josefpihrt.github.io/docs/roslynator/refactorings/RR0169) + ## [4.12.11] - 2025-01-28 ### Added diff --git a/src/Analyzers.xml b/src/Analyzers.xml index 4e010d95f7..5a949271f0 100644 --- a/src/Analyzers.xml +++ b/src/Analyzers.xml @@ -1629,6 +1629,23 @@ public class C + + RCS0062 + PutExpressionBodyOnItsOwnLine + Put expression body on its own line + Info + false + + + null;]]> + null;]]> + + + + + RCS1001 AddBracesWhenExpressionSpansOverMultipleLines @@ -1978,6 +1995,7 @@ foreach (var item in items)