Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net: Bump Roslynator.Analyzers from 4.10.0 to 4.11.0 in /dotnet (#5079)
Bumps [Roslynator.Analyzers](https://github.com/dotnet/roslynator) from 4.10.0 to 4.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dotnet/roslynator/releases">Roslynator.Analyzers's releases</a>.</em></p> <blockquote> <h2>v4.11.0</h2> <h3>Added</h3> <ul> <li>Add analyzer "Use raw string literal" <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1266">RCS1266</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1375">PR</a>)</li> <li>Add analyzer "Convert 'string.Concat' to interpolated string" <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1267">RCS1267</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1379">PR</a>)</li> <li>Simplify LINQ query <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/1077">RCS1077</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1384">PR</a>) <ul> <li><code>items.Select(selector).Average()</code> => <code>items.Average(selector)</code></li> <li><code>items.Select(selector).Sum()</code> => <code>items.Sum(selector)</code></li> </ul> </li> </ul> <h3>Fixed</h3> <ul> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0049">RCS0049</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1386">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1159">RCS1159</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1390">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1019">RCS1019</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1402">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1250">RCS1250</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1403">PR</a>, <a href="https://redirect.github.com/dotnet/roslynator/pull/1404">PR</a>)</li> <li>Fix code fix for <a href="https://josefpihrt.github.io/docs/roslynator/fixes/CS8600">CS8600</a> changing the wrong type when casts or <code>var</code> are involved (<a href="https://redirect.github.com/dotnet/roslynator/pull/1393">PR</a> by <a href="https://github.com/jroessel"><code>@jroessel</code></a>)</li> <li>Fix Roslyn multi-targeting (<a href="https://redirect.github.com/dotnet/roslynator/pull/1407">PR</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dotnet/roslynator/blob/main/ChangeLog.md">Roslynator.Analyzers's changelog</a>.</em></p> <blockquote> <h2>[4.11.0] - 2024-02-19</h2> <h3>Added</h3> <ul> <li>Add analyzer "Use raw string literal" <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1266">RCS1266</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1375">PR</a>)</li> <li>Add analyzer "Convert 'string.Concat' to interpolated string" <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1267">RCS1267</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1379">PR</a>)</li> <li>Simplify LINQ query <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/1077">RCS1077</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1384">PR</a>) <ul> <li><code>items.Select(selector).Average()</code> => <code>items.Average(selector)</code></li> <li><code>items.Select(selector).Sum()</code> => <code>items.Sum(selector)</code></li> </ul> </li> </ul> <h3>Fixed</h3> <ul> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0049">RCS0049</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1386">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1159">RCS1159</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1390">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1019">RCS1019</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1402">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1250">RCS1250</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1403">PR</a>, <a href="https://redirect.github.com/dotnet/roslynator/pull/1404">PR</a>)</li> <li>Fix code fix for <a href="https://josefpihrt.github.io/docs/roslynator/fixes/CS8600">CS8600</a> changing the wrong type when casts or <code>var</code> are involved (<a href="https://redirect.github.com/dotnet/roslynator/pull/1393">PR</a> by <a href="https://github.com/jroessel"><code>@jroessel</code></a>)</li> <li>Fix Roslyn multi-targeting (<a href="https://redirect.github.com/dotnet/roslynator/pull/1407">PR</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dotnet/roslynator/commit/c3a919d4f7ff22d981386b1d7441dd5911fdedf3"><code>c3a919d</code></a> Release 4.11.0 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1391">#1391</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/ce1aacd1b861d0a8f716db10d7bd973cdfc94fa2"><code>ce1aacd</code></a> Fix roslyn multi-targeting (<a href="https://redirect.github.com/dotnet/roslynator/issues/1407">#1407</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/e928f828954bb2176bfc115309a30eff5698ebe3"><code>e928f82</code></a> Fix RCS1250 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1404">#1404</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/3f1a3662f4313b6c35ffae72399bbfbaf3d37ba3"><code>3f1a366</code></a> Fix RCS1060 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1401">#1401</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/248e785f103233a73c27b98e605db9aa812e51aa"><code>248e785</code></a> Fix RCS1250 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1403">#1403</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/168893c212ff545befc3f27760e17fd42f6f983b"><code>168893c</code></a> Fix RCS1019 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1402">#1402</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/9b8a545ab7dbfecc6ebc420c719e67825cc9cadd"><code>9b8a545</code></a> Fixed DeclareAsNullableCodeFixProvider for casts in variable declarations (<a href="https://redirect.github.com/dotnet/roslynator/issues/1">#1</a>...</li> <li><a href="https://github.com/dotnet/roslynator/commit/2af15dbef3d28947fab1863f49cd4f08e8b7ace3"><code>2af15db</code></a> Fix RCS1159 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1390">#1390</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/83a2d7c4cf8f9ff8d13744303e3ce0eccf0c33b6"><code>83a2d7c</code></a> Fix RCS0043 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1389">#1389</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/972b3f763c7b5431a2fec6aca8290d890d744628"><code>972b3f7</code></a> Fix RCS0049 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1386">#1386</a>)</li> <li>Additional commits viewable in <a href="https://github.com/dotnet/roslynator/compare/v4.10.0...v4.11.0">compare view</a></li> </ul> </details> <br /> <details> <summary>Most Recent Ignore Conditions Applied to This Pull Request</summary> | Dependency Name | Ignore Conditions | | --- | --- | | Roslynator.Analyzers | [>= 4.5.a, < 4.6] | </details> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Roslynator.Analyzers&package-manager=nuget&previous-version=4.10.0&new-version=4.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information