Skip to content

Commit

Permalink
Update documentation/NUnit1032.md
Browse files Browse the repository at this point in the history
Co-authored-by: Mikkel Nylander Bundgaard <mikkelbu@users.noreply.github.com>
  • Loading branch information
manfred-brands and mikkelbu authored Jun 9, 2024
1 parent 01a70dd commit 40ce030
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions documentation/NUnit1032.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ If you have `IDisposable` fields or properties, your class must implement the
Dispose any fields/properties that are initialized at declaration or in the constructor in the
[`Dispose`](https://learn.microsoft.com/en-us/dotnet/api/system.idisposable.dispose?view=net-8.0) method.

The NUnit.Analyzer will not help you here as the functionality is available in a [Microsoft .NET Analyzers](https://www.nuget.org/packages/Microsoft.CodeAnalysis.NetAnalyzers)

These are the rules that will help you with this:
The NUnit.Analyzer will not help you here as the functionality is available in [Microsoft .NET Analyzers](https://www.nuget.org/packages/Microsoft.CodeAnalysis.NetAnalyzers). These are the rules that will help you with this:

* [CA1001](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Types that own disposable fields should be disposable
Expand Down

0 comments on commit 40ce030

Please sign in to comment.