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
CA1860: Avoid using 'Enumerable.Any()' extension method #2196
Conversation
Fixes newly enabled .NET analyzers CA1860 rule. More information about the rule at https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860
Sorry not sure what happened, I had no error locally but now I do reproduce the same errors. Will investigate and mark as ready when build is passing locally. |
Since we don't have very performance sensitive code, I don't have a strong opinion on whether or not we should limit the usage of |
It depends on the run-time version. As of .NET Core 2.0, But I agree. Totally fine to enable this rule. |
Thinking more about it, I'm pro enforcing this. Related analyzer and issue: fluentassertions/.editorconfig Lines 153 to 154 in 22a6039
|
Will fix this PR and enable the rule today. Sorry for the delay, I was held back by some other tasks. |
# Conflicts: # Src/FluentAssertions/Specialized/AsyncFunctionAssertions.cs # Src/FluentAssertions/Specialized/DelegateAssertionsBase.cs
Sorry for the delay here and multiple commits.... Hope this PR will help! Thanks for the awesome tool :) |
Pull Request Test Coverage Report for Build 4939159012
💛 - Coveralls |
[![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>
Fixes newly enabled .NET analyzers CA1860 rule. More information about the rule at https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860
IMPORTANT
./build.sh --target spellcheck
or.\build.ps1 --target spellcheck
before pushing and check the good outcome