This release of the Analyzers extends the suppression of nullable warnings to also respect assumptions -
expressed via Assume.That. Also nullable warnings are suppressed even in the context of the
null-forgiving operator !, and NUnit2010 is extended to also cover is pattern expressions - e.g.
is null and more general integer patterns as is < 0 or >= 1.
The release contains contributions from the following users (in alphabetical order):
This release of the Analyzers extends the suppression of nullable warnings to also respect assumptions -
expressed via Assume.That. Also nullable warnings are suppressed even in the context of the
null-forgiving operator !, and NUnit2010 is extended to also cover is pattern expressions - e.g.
is null and more general integer patterns as is < 0 or >= 1.
The release contains contributions from the following users (in alphabetical order):
lahma
manfred-brands
mikkelbu
RenderMichael
TheBigNeo
verdie-g
Issues Resolved
Features and Enhancements
#693 Possibly Null Reference Warning should be suppressed for Assume
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 commands and options
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 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)
Bumps NUnit.Analyzers from 4.0.1 to 4.1.0.
Release notes
Sourced from NUnit.Analyzers's releases.
Changelog
Sourced from NUnit.Analyzers's changelog.
... (truncated)
Commits
d558632
Merge pull request #707 from nunit/release4.1cb8c825
chore: Update release notesf771316
Merge pull request #704 from manfred-brands/issues/679_NullSuppressionOperator1703848
Replace use of 'record' type.0aacb17
Ignore null suppression operator when matching Is.Not.Null4798485
Merge pull request #703 from manfred-brands/issues/691_IsNull59a9926
Merge pull request #702 from manfred-brands/issues/693_Assumef93b9cc
NUnit2010: Add support for detecting use of 'is' pattern inside 'Assert.That'97bd87e
Support Assume.That(x, Is.Not.Null) to suppress nullable warning47648c5
Merge pull request #698 from verdie-g/are-equal-null-message-fixDependabot 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 commands and options
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