New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare for .NET8 analyzers #2228
Conversation
Pull Request Test Coverage Report for Build 5356382532Warning: This coverage report may be inaccurate.We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
💛 - Coveralls |
A dump way could be: |
This creates an array on the fly, too. This is what the rule tries to prevent, isn't it? I recommend a field. This is not that local definition, but gives the list a name. |
Will a local |
No, it gives: @dennisdoomen Can I interpret this as you vote for option 2? |
I'm leaning a little bit towards 3, but I can live with 2. |
The analyzer is probably right, but the fix would be a named static field, which would reduce code locality. As I don't think these places are hot-paths, we prefer code locality over _potential_ performance increase. Right now it triggered in these members: * ObjectReference.GetPathElements * StringExtensions.IndentLines * MemberPath.Segments
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [FluentAssertions](https://www.fluentassertions.com/) ([source](https://togithub.com/fluentassertions/fluentassertions)) | nuget | minor | `6.11.0` -> `6.12.0` | --- ### Release Notes <details> <summary>fluentassertions/fluentassertions (FluentAssertions)</summary> ### [`v6.12.0`](https://togithub.com/fluentassertions/fluentassertions/releases/tag/6.12.0) [Compare Source](https://togithub.com/fluentassertions/fluentassertions/compare/6.11.0...6.12.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### New features - Added `Be`, `NotBe` and `BeOneOf` for object comparisons with custom comparer by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2243 - Extend `AssemblyAssertions` with `HavePublicKey` and `BeUnsigned` by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2207 - Add `NotContainItemsAssignableTo` by [@​Leo506](https://togithub.com/Leo506) in [fluentassertions/fluentassertions#2266 ##### Improvements - Format records and anonymous types with their member values by [@​benagain](https://togithub.com/benagain) in [fluentassertions/fluentassertions#2144 - Improve caller identification for Visual Basic by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2254 ##### Fixes - Avoid quoting newlines by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2202 - Include because+becauseArgs when comparing collections of enums for equivalency by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2214 - Fix auto conversion to enums by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2261 ##### Documentation - Github -> GitHub by [@​danielchalmers](https://togithub.com/danielchalmers) in [fluentassertions/fluentassertions#2190 - Fix badge links by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2193 - Fix example wording by [@​cskwrd](https://togithub.com/cskwrd) in [fluentassertions/fluentassertions#2206 - Improve documentation on `ExcludingNestedObjects` by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2211 - Add missing `HaveElement()` occurrence docs by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2217 - Add documentation for `IComparer<T>` overload by [@​ITaluone](https://togithub.com/ITaluone) in [fluentassertions/fluentassertions#2220 - Update docs about thread safety by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2238 ##### Others - CA1860: Avoid using 'Enumerable.Any()' extension method by [@​Evangelink](https://togithub.com/Evangelink) in [fluentassertions/fluentassertions#2196 - Update PR template by [@​eNeRGy164](https://togithub.com/eNeRGy164) in [fluentassertions/fluentassertions#2188 - Code coverage improvements by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [fluentassertions/fluentassertions#2180 - Remove sponsor Semantic Merge from the website by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2194 - Upmerge master to develop by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2195 - Simplify `GenericDictionaryEquivalencyStep` by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2191 - Cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2201 - Bump all dependencies by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2198 - Add Qodana by [@​matkoch](https://togithub.com/matkoch) in [fluentassertions/fluentassertions#2204 - Bump nuget dependencies by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2227 - Prepare for .NET8 analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2228 - Qodana fixes by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2229 - Update Nugets by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2240 - Analyzer cleanups by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2250 - Group framework dependent configuration by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2247 - Update cspell by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2255 - Update ruby gems by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2257 - Another Qodana test from the same repository by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2258 - Qodana fixes by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2221 - Add a pre-check if a user can help with a PR by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2262 - Fix qodana issues part 2 by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2264 - Release 6.12 by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2270 #### New Contributors - [@​benagain](https://togithub.com/benagain) made their first contribution in [fluentassertions/fluentassertions#2144 - [@​cskwrd](https://togithub.com/cskwrd) made their first contribution in [fluentassertions/fluentassertions#2206 - [@​Corniel](https://togithub.com/Corniel) made their first contribution in [fluentassertions/fluentassertions#2247 - [@​Leo506](https://togithub.com/Leo506) made their first contribution in [fluentassertions/fluentassertions#2266 **Full Changelog**: fluentassertions/fluentassertions@6.11.0...6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Testably/Testably.Abstractions). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [FluentAssertions](https://www.fluentassertions.com/) ([source](https://togithub.com/fluentassertions/fluentassertions)) | nuget | minor | `6.11.0` -> `6.12.0` | --- ### Release Notes <details> <summary>fluentassertions/fluentassertions (FluentAssertions)</summary> ### [`v6.12.0`](https://togithub.com/fluentassertions/fluentassertions/releases/tag/6.12.0) [Compare Source](https://togithub.com/fluentassertions/fluentassertions/compare/6.11.0...6.12.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### New features - Added `Be`, `NotBe` and `BeOneOf` for object comparisons with custom comparer by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2243 - Extend `AssemblyAssertions` with `HavePublicKey` and `BeUnsigned` by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2207 - Add `NotContainItemsAssignableTo` by [@​Leo506](https://togithub.com/Leo506) in [fluentassertions/fluentassertions#2266 ##### Improvements - Format records and anonymous types with their member values by [@​benagain](https://togithub.com/benagain) in [fluentassertions/fluentassertions#2144 - Improve caller identification for Visual Basic by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2254 ##### Fixes - Avoid quoting newlines by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2202 - Include because+becauseArgs when comparing collections of enums for equivalency by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2214 - Fix auto conversion to enums by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2261 ##### Documentation - Github -> GitHub by [@​danielchalmers](https://togithub.com/danielchalmers) in [fluentassertions/fluentassertions#2190 - Fix badge links by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2193 - Fix example wording by [@​cskwrd](https://togithub.com/cskwrd) in [fluentassertions/fluentassertions#2206 - Improve documentation on `ExcludingNestedObjects` by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2211 - Add missing `HaveElement()` occurrence docs by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2217 - Add documentation for `IComparer<T>` overload by [@​ITaluone](https://togithub.com/ITaluone) in [fluentassertions/fluentassertions#2220 - Update docs about thread safety by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2238 ##### Others - CA1860: Avoid using 'Enumerable.Any()' extension method by [@​Evangelink](https://togithub.com/Evangelink) in [fluentassertions/fluentassertions#2196 - Update PR template by [@​eNeRGy164](https://togithub.com/eNeRGy164) in [fluentassertions/fluentassertions#2188 - Code coverage improvements by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [fluentassertions/fluentassertions#2180 - Remove sponsor Semantic Merge from the website by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2194 - Upmerge master to develop by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2195 - Simplify `GenericDictionaryEquivalencyStep` by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2191 - Cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2201 - Bump all dependencies by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2198 - Add Qodana by [@​matkoch](https://togithub.com/matkoch) in [fluentassertions/fluentassertions#2204 - Bump nuget dependencies by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2227 - Prepare for .NET8 analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2228 - Qodana fixes by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2229 - Update Nugets by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2240 - Analyzer cleanups by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2250 - Group framework dependent configuration by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2247 - Update cspell by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2255 - Update ruby gems by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2257 - Another Qodana test from the same repository by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2258 - Qodana fixes by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2221 - Add a pre-check if a user can help with a PR by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2262 - Fix qodana issues part 2 by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2264 - Release 6.12 by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2270 #### New Contributors - [@​benagain](https://togithub.com/benagain) made their first contribution in [fluentassertions/fluentassertions#2144 - [@​cskwrd](https://togithub.com/cskwrd) made their first contribution in [fluentassertions/fluentassertions#2206 - [@​Corniel](https://togithub.com/Corniel) made their first contribution in [fluentassertions/fluentassertions#2247 - [@​Leo506](https://togithub.com/Leo506) made their first contribution in [fluentassertions/fluentassertions#2266 **Full Changelog**: fluentassertions/fluentassertions@6.11.0...6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Testably/Testably.Architecture.Rules). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [FluentAssertions](https://www.fluentassertions.com/) ([source](https://togithub.com/fluentassertions/fluentassertions)) | nuget | minor | `6.11.0` -> `6.12.0` | --- ### Release Notes <details> <summary>fluentassertions/fluentassertions (FluentAssertions)</summary> ### [`v6.12.0`](https://togithub.com/fluentassertions/fluentassertions/releases/tag/6.12.0) [Compare Source](https://togithub.com/fluentassertions/fluentassertions/compare/6.11.0...6.12.0) <!-- Release notes generated using configuration in .github/release.yml at master --> ##### What's Changed ##### New features - Added `Be`, `NotBe` and `BeOneOf` for object comparisons with custom comparer by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2243 - Extend `AssemblyAssertions` with `HavePublicKey` and `BeUnsigned` by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2207 - Add `NotContainItemsAssignableTo` by [@​Leo506](https://togithub.com/Leo506) in [fluentassertions/fluentassertions#2266 ##### Improvements - Format records and anonymous types with their member values by [@​benagain](https://togithub.com/benagain) in [fluentassertions/fluentassertions#2144 - Improve caller identification for Visual Basic by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2254 ##### Fixes - Avoid quoting newlines by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2202 - Include because+becauseArgs when comparing collections of enums for equivalency by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2214 - Fix auto conversion to enums by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2261 ##### Documentation - Github -> GitHub by [@​danielchalmers](https://togithub.com/danielchalmers) in [fluentassertions/fluentassertions#2190 - Fix badge links by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2193 - Fix example wording by [@​cskwrd](https://togithub.com/cskwrd) in [fluentassertions/fluentassertions#2206 - Improve documentation on `ExcludingNestedObjects` by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2211 - Add missing `HaveElement()` occurrence docs by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2217 - Add documentation for `IComparer<T>` overload by [@​ITaluone](https://togithub.com/ITaluone) in [fluentassertions/fluentassertions#2220 - Update docs about thread safety by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2238 ##### Others - CA1860: Avoid using 'Enumerable.Any()' extension method by [@​Evangelink](https://togithub.com/Evangelink) in [fluentassertions/fluentassertions#2196 - Update PR template by [@​eNeRGy164](https://togithub.com/eNeRGy164) in [fluentassertions/fluentassertions#2188 - Code coverage improvements by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [fluentassertions/fluentassertions#2180 - Remove sponsor Semantic Merge from the website by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2194 - Upmerge master to develop by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2195 - Simplify `GenericDictionaryEquivalencyStep` by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2191 - Cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2201 - Bump all dependencies by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2198 - Add Qodana by [@​matkoch](https://togithub.com/matkoch) in [fluentassertions/fluentassertions#2204 - Bump nuget dependencies by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2227 - Prepare for .NET8 analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2228 - Qodana fixes by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2229 - Update Nugets by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2240 - Analyzer cleanups by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2250 - Group framework dependent configuration by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2247 - Update cspell by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2255 - Update ruby gems by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2257 - Another Qodana test from the same repository by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2258 - Qodana fixes by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2221 - Add a pre-check if a user can help with a PR by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2262 - Fix qodana issues part 2 by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2264 - Release 6.12 by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2270 ##### New Contributors - [@​benagain](https://togithub.com/benagain) made their first contribution in [fluentassertions/fluentassertions#2144 - [@​cskwrd](https://togithub.com/cskwrd) made their first contribution in [fluentassertions/fluentassertions#2206 - [@​Corniel](https://togithub.com/Corniel) made their first contribution in [fluentassertions/fluentassertions#2247 - [@​Leo506](https://togithub.com/Leo506) made their first contribution in [fluentassertions/fluentassertions#2266 **Full Changelog**: fluentassertions/fluentassertions@6.11.0...6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Testably/Testably.Abstractions.FluentAssertions). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [FluentAssertions](https://www.fluentassertions.com/) ([source](https://togithub.com/fluentassertions/fluentassertions)) | nuget | minor | `6.11.0` -> `6.12.0` | --- ### Release Notes <details> <summary>fluentassertions/fluentassertions (FluentAssertions)</summary> ### [`v6.12.0`](https://togithub.com/fluentassertions/fluentassertions/releases/tag/6.12.0) [Compare Source](https://togithub.com/fluentassertions/fluentassertions/compare/6.11.0...6.12.0) <!-- Release notes generated using configuration in .github/release.yml at master --> ##### What's Changed ##### New features - Added `Be`, `NotBe` and `BeOneOf` for object comparisons with custom comparer by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2243 - Extend `AssemblyAssertions` with `HavePublicKey` and `BeUnsigned` by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2207 - Add `NotContainItemsAssignableTo` by [@​Leo506](https://togithub.com/Leo506) in [fluentassertions/fluentassertions#2266 ##### Improvements - Format records and anonymous types with their member values by [@​benagain](https://togithub.com/benagain) in [fluentassertions/fluentassertions#2144 - Improve caller identification for Visual Basic by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2254 ##### Fixes - Avoid quoting newlines by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2202 - Include because+becauseArgs when comparing collections of enums for equivalency by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2214 - Fix auto conversion to enums by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2261 ##### Documentation - Github -> GitHub by [@​danielchalmers](https://togithub.com/danielchalmers) in [fluentassertions/fluentassertions#2190 - Fix badge links by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2193 - Fix example wording by [@​cskwrd](https://togithub.com/cskwrd) in [fluentassertions/fluentassertions#2206 - Improve documentation on `ExcludingNestedObjects` by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2211 - Add missing `HaveElement()` occurrence docs by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2217 - Add documentation for `IComparer<T>` overload by [@​ITaluone](https://togithub.com/ITaluone) in [fluentassertions/fluentassertions#2220 - Update docs about thread safety by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2238 ##### Others - CA1860: Avoid using 'Enumerable.Any()' extension method by [@​Evangelink](https://togithub.com/Evangelink) in [fluentassertions/fluentassertions#2196 - Update PR template by [@​eNeRGy164](https://togithub.com/eNeRGy164) in [fluentassertions/fluentassertions#2188 - Code coverage improvements by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [fluentassertions/fluentassertions#2180 - Remove sponsor Semantic Merge from the website by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2194 - Upmerge master to develop by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2195 - Simplify `GenericDictionaryEquivalencyStep` by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2191 - Cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2201 - Bump all dependencies by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2198 - Add Qodana by [@​matkoch](https://togithub.com/matkoch) in [fluentassertions/fluentassertions#2204 - Bump nuget dependencies by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2227 - Prepare for .NET8 analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2228 - Qodana fixes by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2229 - Update Nugets by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2240 - Analyzer cleanups by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2250 - Group framework dependent configuration by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2247 - Update cspell by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2255 - Update ruby gems by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2257 - Another Qodana test from the same repository by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2258 - Qodana fixes by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2221 - Add a pre-check if a user can help with a PR by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2262 - Fix qodana issues part 2 by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2264 - Release 6.12 by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2270 ##### New Contributors - [@​benagain](https://togithub.com/benagain) made their first contribution in [fluentassertions/fluentassertions#2144 - [@​cskwrd](https://togithub.com/cskwrd) made their first contribution in [fluentassertions/fluentassertions#2206 - [@​Corniel](https://togithub.com/Corniel) made their first contribution in [fluentassertions/fluentassertions#2247 - [@​Leo506](https://togithub.com/Leo506) made their first contribution in [fluentassertions/fluentassertions#2266 **Full Changelog**: fluentassertions/fluentassertions@6.11.0...6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/cythral/brighid-commands). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [FluentAssertions](https://www.fluentassertions.com/) ([source](https://togithub.com/fluentassertions/fluentassertions)) | nuget | minor | `6.11.0` -> `6.12.0` | --- ### Release Notes <details> <summary>fluentassertions/fluentassertions (FluentAssertions)</summary> ### [`v6.12.0`](https://togithub.com/fluentassertions/fluentassertions/releases/tag/6.12.0) [Compare Source](https://togithub.com/fluentassertions/fluentassertions/compare/6.11.0...6.12.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### New features - Added `Be`, `NotBe` and `BeOneOf` for object comparisons with custom comparer by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2243 - Extend `AssemblyAssertions` with `HavePublicKey` and `BeUnsigned` by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2207 - Add `NotContainItemsAssignableTo` by [@​Leo506](https://togithub.com/Leo506) in [fluentassertions/fluentassertions#2266 ##### Improvements - Format records and anonymous types with their member values by [@​benagain](https://togithub.com/benagain) in [fluentassertions/fluentassertions#2144 - Improve caller identification for Visual Basic by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2254 ##### Fixes - Avoid quoting newlines by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2202 - Include because+becauseArgs when comparing collections of enums for equivalency by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2214 - Fix auto conversion to enums by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2261 ##### Documentation - Github -> GitHub by [@​danielchalmers](https://togithub.com/danielchalmers) in [fluentassertions/fluentassertions#2190 - Fix badge links by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2193 - Fix example wording by [@​cskwrd](https://togithub.com/cskwrd) in [fluentassertions/fluentassertions#2206 - Improve documentation on `ExcludingNestedObjects` by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2211 - Add missing `HaveElement()` occurrence docs by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2217 - Add documentation for `IComparer<T>` overload by [@​ITaluone](https://togithub.com/ITaluone) in [fluentassertions/fluentassertions#2220 - Update docs about thread safety by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2238 ##### Others - CA1860: Avoid using 'Enumerable.Any()' extension method by [@​Evangelink](https://togithub.com/Evangelink) in [fluentassertions/fluentassertions#2196 - Update PR template by [@​eNeRGy164](https://togithub.com/eNeRGy164) in [fluentassertions/fluentassertions#2188 - Code coverage improvements by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [fluentassertions/fluentassertions#2180 - Remove sponsor Semantic Merge from the website by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2194 - Upmerge master to develop by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2195 - Simplify `GenericDictionaryEquivalencyStep` by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2191 - Cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2201 - Bump all dependencies by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2198 - Add Qodana by [@​matkoch](https://togithub.com/matkoch) in [fluentassertions/fluentassertions#2204 - Bump nuget dependencies by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2227 - Prepare for .NET8 analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2228 - Qodana fixes by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2229 - Update Nugets by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2240 - Analyzer cleanups by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2250 - Group framework dependent configuration by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2247 - Update cspell by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2255 - Update ruby gems by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2257 - Another Qodana test from the same repository by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2258 - Qodana fixes by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2221 - Add a pre-check if a user can help with a PR by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2262 - Fix qodana issues part 2 by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2264 - Release 6.12 by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2270 #### New Contributors - [@​benagain](https://togithub.com/benagain) made their first contribution in [fluentassertions/fluentassertions#2144 - [@​cskwrd](https://togithub.com/cskwrd) made their first contribution in [fluentassertions/fluentassertions#2206 - [@​Corniel](https://togithub.com/Corniel) made their first contribution in [fluentassertions/fluentassertions#2247 - [@​Leo506](https://togithub.com/Leo506) made their first contribution in [fluentassertions/fluentassertions#2266 **Full Changelog**: fluentassertions/fluentassertions@6.11.0...6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined). 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ThorstenSauter/NoPlan). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [FluentAssertions](https://www.fluentassertions.com/) ([source](https://togithub.com/fluentassertions/fluentassertions)) | nuget | minor | `6.11.0` -> `6.12.0` | --- ### Release Notes <details> <summary>fluentassertions/fluentassertions (FluentAssertions)</summary> ### [`v6.12.0`](https://togithub.com/fluentassertions/fluentassertions/releases/tag/6.12.0) [Compare Source](https://togithub.com/fluentassertions/fluentassertions/compare/6.11.0...6.12.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### New features - Added `Be`, `NotBe` and `BeOneOf` for object comparisons with custom comparer by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2243 - Extend `AssemblyAssertions` with `HavePublicKey` and `BeUnsigned` by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2207 - Add `NotContainItemsAssignableTo` by [@​Leo506](https://togithub.com/Leo506) in [fluentassertions/fluentassertions#2266 ##### Improvements - Format records and anonymous types with their member values by [@​benagain](https://togithub.com/benagain) in [fluentassertions/fluentassertions#2144 - Improve caller identification for Visual Basic by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2254 ##### Fixes - Avoid quoting newlines by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2202 - Include because+becauseArgs when comparing collections of enums for equivalency by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2214 - Fix auto conversion to enums by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2261 ##### Documentation - Github -> GitHub by [@​danielchalmers](https://togithub.com/danielchalmers) in [fluentassertions/fluentassertions#2190 - Fix badge links by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2193 - Fix example wording by [@​cskwrd](https://togithub.com/cskwrd) in [fluentassertions/fluentassertions#2206 - Improve documentation on `ExcludingNestedObjects` by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2211 - Add missing `HaveElement()` occurrence docs by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2217 - Add documentation for `IComparer<T>` overload by [@​ITaluone](https://togithub.com/ITaluone) in [fluentassertions/fluentassertions#2220 - Update docs about thread safety by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2238 ##### Others - CA1860: Avoid using 'Enumerable.Any()' extension method by [@​Evangelink](https://togithub.com/Evangelink) in [fluentassertions/fluentassertions#2196 - Update PR template by [@​eNeRGy164](https://togithub.com/eNeRGy164) in [fluentassertions/fluentassertions#2188 - Code coverage improvements by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [fluentassertions/fluentassertions#2180 - Remove sponsor Semantic Merge from the website by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2194 - Upmerge master to develop by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2195 - Simplify `GenericDictionaryEquivalencyStep` by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2191 - Cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2201 - Bump all dependencies by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2198 - Add Qodana by [@​matkoch](https://togithub.com/matkoch) in [fluentassertions/fluentassertions#2204 - Bump nuget dependencies by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2227 - Prepare for .NET8 analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2228 - Qodana fixes by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2229 - Update Nugets by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2240 - Analyzer cleanups by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2250 - Group framework dependent configuration by [@​Corniel](https://togithub.com/Corniel) in [fluentassertions/fluentassertions#2247 - Update cspell by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2255 - Update ruby gems by [@​jnyrup](https://togithub.com/jnyrup) in [fluentassertions/fluentassertions#2257 - Another Qodana test from the same repository by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2258 - Qodana fixes by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2221 - Add a pre-check if a user can help with a PR by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2262 - Fix qodana issues part 2 by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [fluentassertions/fluentassertions#2264 - Release 6.12 by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [fluentassertions/fluentassertions#2270 #### New Contributors - [@​benagain](https://togithub.com/benagain) made their first contribution in [fluentassertions/fluentassertions#2144 - [@​cskwrd](https://togithub.com/cskwrd) made their first contribution in [fluentassertions/fluentassertions#2206 - [@​Corniel](https://togithub.com/Corniel) made their first contribution in [fluentassertions/fluentassertions#2247 - [@​Leo506](https://togithub.com/Leo506) made their first contribution in [fluentassertions/fluentassertions#2266 **Full Changelog**: fluentassertions/fluentassertions@6.11.0...6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/orso-co/Orso.Arpa.Api). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
I installed the latest .NET8 preview to see what analyzers we would trigger.
These three lines trigger CA1861: Avoid constant arrays as arguments
fluentassertions/Src/FluentAssertions/Common/MemberPath.cs
Line 119 in 343e80f
fluentassertions/Src/FluentAssertions/Common/StringExtensions.cs
Line 121 in 343e80f
fluentassertions/Src/FluentAssertions/Equivalency/Execution/ObjectReference.cs
Line 42 in 343e80f
As I see it, we have three options here:
#pragma
s.I'm probably fine with either, but lean mostly towards either of the first two.
IMPORTANT
./build.sh --target spellcheck
or.\build.ps1 --target spellcheck
before pushing and check the good outcome