-
Notifications
You must be signed in to change notification settings - Fork 2
Suggest ElementAt only if type implements IList or IReadOnlyList #63
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
Conversation
1043a8f to
decc095
Compare
decc095 to
cf7e587
Compare
|
|
I feel weird about this public IEnumerable<object[]> XYZ()
{
...
yield return new object[] { oldAssertion, newAssertion }
.Concat(AdditionalParameters)
.ToArray();
}We're materializing an |
This is a bit weird, but note that we return an The |
|
Ah, so it's part of the |
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://github.com/renovatebot/renovate/discussions/37842). This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [AwesomeAssertions.Analyzers](https://github.com/awesomeassertions/awesomeassertions.analyzers) | `9.0.3` -> `9.0.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>awesomeassertions/awesomeassertions.analyzers (AwesomeAssertions.Analyzers)</summary> ### [`v9.0.4`](https://github.com/AwesomeAssertions/AwesomeAssertions.analyzers/releases/tag/v9.0.4) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### Fixes - Suggest ElementAt only if type implements IList or IReadOnlyList by [@​cbersch](https://github.com/cbersch) in [AwesomeAssertions/AwesomeAssertions.analyzers#63](https://github.com/AwesomeAssertions/AwesomeAssertions.analyzers/pull/63) ##### Dependencies - chore(deps): update dependency xunit.runner.visualstudio to 3.1.4 by [@​renovate](https://github.com/renovate)\[bot] in [AwesomeAssertions/AwesomeAssertions.analyzers#59](https://github.com/AwesomeAssertions/AwesomeAssertions.analyzers/pull/59) - chore(deps): update mstest monorepo to 3.10.3 - autoclosed by [@​renovate](https://github.com/renovate)\[bot] in [AwesomeAssertions/AwesomeAssertions.analyzers#60](https://github.com/AwesomeAssertions/AwesomeAssertions.analyzers/pull/60) - chore(deps): update dependency nunit3testadapter to 5.1.0 by [@​renovate](https://github.com/renovate)\[bot] in [AwesomeAssertions/AwesomeAssertions.analyzers#62](https://github.com/AwesomeAssertions/AwesomeAssertions.analyzers/pull/62) - chore(deps): update dependency nunit to 4.4.0 by [@​renovate](https://github.com/renovate)\[bot] in [AwesomeAssertions/AwesomeAssertions.analyzers#61](https://github.com/AwesomeAssertions/AwesomeAssertions.analyzers/pull/61) ##### Others - Enable coveralls by [@​cbersch](https://github.com/cbersch) in [AwesomeAssertions/AwesomeAssertions.analyzers#58](https://github.com/AwesomeAssertions/AwesomeAssertions.analyzers/pull/58) **Full Changelog**: <AwesomeAssertions/AwesomeAssertions.analyzers@v9.0.3...v9.0.4> </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 is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/gritcsenko/HomeInventory). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->



Fixes #51