Skip to content

Commit 51c037f

Browse files
Bump NUnit.Analyzers and Microsoft.NETFramework.ReferenceAssemblies (#236)
Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers) and [Microsoft.NETFramework.ReferenceAssemblies](https://github.com/Microsoft/dotnet). These dependencies needed to be updated together. Updates `NUnit.Analyzers` from 4.6.0 to 4.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nunit/nunit.analyzers/releases">NUnit.Analyzers's releases</a>.</em></p> <blockquote> <p>NUnit Analyzers 4.7 - April 1, 2025</p> <p>The release primarily add another diagnostic <code>NUnit4002</code> - and associated codefix - to help simplify <code>EqualTo</code> constraints when the expected value is a simple constant - e.g. <code>true</code>, <code>false</code>, <code>0</code>, or <code>default</code>. The release also removes some false positives for <code>Nunit1029</code>.</p> <p>As tooling contributions the analyzers now build using .NET8.0 and also analyzers and codefixes are now split into separate projects as only editors should load codefixes.</p> <p>The release contains contributions from the following users (in alphabetical order):</p> <ul> <li><a href="https://github.com/cbersch"><code>@​cbersch</code></a></li> <li><a href="https://github.com/Dreamescaper"><code>@​Dreamescaper</code></a></li> <li><a href="https://github.com/manfred-brands"><code>@​manfred-brands</code></a></li> <li><a href="https://github.com/mikkelbu"><code>@​mikkelbu</code></a></li> <li><a href="https://github.com/seanblue"><code>@​seanblue</code></a></li> <li><a href="https://github.com/zlepper"><code>@​zlepper</code></a></li> </ul> <p>Issues Resolved</p> <p>Features and Enhancements</p> <ul> <li><a href="https://redirect.github.com/nunit/nunit.analyzers/issues/828">#828</a> Replace Is.EqualTo(default) with Is.Default</li> <li><a href="https://redirect.github.com/nunit/nunit.analyzers/issues/826">#826</a> Suggest to use Is.Null instead of Is.EqualTo(null)</li> <li><a href="https://redirect.github.com/nunit/nunit.analyzers/issues/824">#824</a> Use Is.False / Is.True instead of Is.EqualTo</li> </ul> <p>Bugs</p> <ul> <li><a href="https://redirect.github.com/nunit/nunit.analyzers/issues/832">#832</a> False positive for Nunit1029 when only a type argument is use</li> </ul> <p>Tooling, Process, and Documentation</p> <ul> <li><a href="https://redirect.github.com/nunit/nunit.analyzers/issues/853">#853</a> chore: Add NUnit4002.md solution file</li> <li><a href="https://redirect.github.com/nunit/nunit.analyzers/issues/846">#846</a> chore: Bump NUnit3TestAdapter to version 5</li> <li><a href="https://redirect.github.com/nunit/nunit.analyzers/issues/843">#843</a> chore(deps): Bump Microsoft.NET.Test.Sdk and Microsoft.NETFramework.ReferenceAssemblies</li> <li><a href="https://redirect.github.com/nunit/nunit.analyzers/issues/838">#838</a> chore: bump version</li> <li><a href="https://redirect.github.com/nunit/nunit.analyzers/issues/677">#677</a> Build using .NET8.0 SDK</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nunit/nunit.analyzers/commit/7e0869a2cae3eb6aaf0cb22c34036b77e2f2c9ba"><code>7e0869a</code></a> Merge pull request <a href="https://redirect.github.com/nunit/nunit.analyzers/issues/854">#854</a> from nunit/release4.7</li> <li><a href="https://github.com/nunit/nunit.analyzers/commit/3d3c826be91b4616e9ea104d1fe81be59f1b5483"><code>3d3c826</code></a> chore: Update release notes</li> <li><a href="https://github.com/nunit/nunit.analyzers/commit/9a9ec96962ca39f70bcb5152d992ce06d4b6c9c7"><code>9a9ec96</code></a> Merge pull request <a href="https://redirect.github.com/nunit/nunit.analyzers/issues/853">#853</a> from nunit/chore/add-nunit4002-sln</li> <li><a href="https://github.com/nunit/nunit.analyzers/commit/a6e638682f4f6318666e4822453a351e5d93254d"><code>a6e6386</code></a> chore: Add NUnit4002.md solution file</li> <li><a href="https://github.com/nunit/nunit.analyzers/commit/f15cbb5db049286bf18fda7f6750217cadcc3573"><code>f15cbb5</code></a> Merge pull request <a href="https://redirect.github.com/nunit/nunit.analyzers/issues/846">#846</a> from nunit/chore/bump-nunit-adapter</li> <li><a href="https://github.com/nunit/nunit.analyzers/commit/14baaa1780b87301a2e14a1c8ff3f272b584db06"><code>14baaa1</code></a> chore: Bump <code>NUnit3TestAdapter</code> to version 5</li> <li><a href="https://github.com/nunit/nunit.analyzers/commit/eb356c8b6060e8f6665e20e2c3586bd05dc2af1f"><code>eb356c8</code></a> Merge pull request <a href="https://redirect.github.com/nunit/nunit.analyzers/issues/843">#843</a> from nunit/dependabot/nuget/src/multi-45dc7e4dae</li> <li><a href="https://github.com/nunit/nunit.analyzers/commit/744b471a1756546f5272946077b44b77b8d9dea2"><code>744b471</code></a> chore(deps): Bump Microsoft.NET.Test.Sdk and Microsoft.NETFramework.Reference...</li> <li><a href="https://github.com/nunit/nunit.analyzers/commit/ac3a3709430ea91a106cd1e0ed6058bcc398784e"><code>ac3a370</code></a> Add rule to convert EqualTo(xxx) into Is.XXX</li> <li><a href="https://github.com/nunit/nunit.analyzers/commit/60d45bf61825ba517f8e49baf1cc0d40cc31edb8"><code>60d45bf</code></a> Split NUnitFrameworkConstants into separate classes.</li> <li>Additional commits viewable in <a href="https://github.com/nunit/nunit.analyzers/compare/4.6.0...4.7.0">compare view</a></li> </ul> </details> <br /> Updates `Microsoft.NETFramework.ReferenceAssemblies` from 1.0.3 to 1.0.3 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Microsoft/dotnet/commits">compare view</a></li> </ul> </details> <br /> 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent fc3c883 commit 51c037f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AsyncAwaitBestPractices.UnitTests/AsyncAwaitBestPractices.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1111
<PrivateAssets>all</PrivateAssets>
1212
</PackageReference>
13-
<PackageReference Include="NUnit.Analyzers" Version="4.6.0">
13+
<PackageReference Include="NUnit.Analyzers" Version="4.7.0">
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
<PrivateAssets>all</PrivateAssets>
1616
</PackageReference>

0 commit comments

Comments
 (0)