IDisposableAnalyzers 3.4.15

Analyzers and fixes for IDisposable.

Install-Package IDisposableAnalyzers -Version 3.4.15
dotnet add package IDisposableAnalyzers --version 3.4.15
<PackageReference Include="IDisposableAnalyzers" Version="3.4.15">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IDisposableAnalyzers --version 3.4.15
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IDisposableAnalyzers, 3.4.15"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install IDisposableAnalyzers as a Cake Addin
#addin nuget:?package=IDisposableAnalyzers&version=3.4.15

// Install IDisposableAnalyzers as a Cake Tool
#tool nuget:?package=IDisposableAnalyzers&version=3.4.15
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

3.4.15
     BUGFIX: IDISP005 with ServiceDescriptor
     BUGFIX: IDISP004 when DisposeWith
     3.4.14
     BUGFIX: IDISP005 should not warn in Assert.Throws.
     BUGFIX: Handle function pointer.
     3.4.13
     BUGFIX: Specialcase Gu.Reactive extension methods.
     3.4.12
     BUGFIX: Handle more cases when chained extension methods.
     BUGFIX: When leaveOpen has default value
     3.4.11
     BUGFIX IDISP023 handle trivial and.
     BUGFIX IDISP023 when chained constructors
     BUGFIX IDISP001 when if statement.
     BUGFIX IDISP004 when chained leave open.
     3.4.10
     BUGFIX: Handle using in loop
     3.4.9
     BUGFIX: IDISP023 Allow touching static reference types.
     BUGFIX: AD0001: Analyzer 'IDisposableAnalyzers.LocalDeclarationAnalyzer
     3.4.8
     BUGFIX: Don't use Roslyn's SymbolEqualityComparer
     3.4.7
     Can't repro issues, thinking maybe the 3.4.6 release used wrong binaries.
     3.4.6
     BUGFIX: IDSP007 when using declaration.
     BUGFIX: Figure out chained calls.
     3.4.5
     FEATURE: Handle switch expression.
     BUGFIX: Figure out await in more places.
     BUGFIX: Tweak assumptions about binary symbols.
     BUGFIX: Handle Interlocked.Exchange
     3.4.4
     FEATURE: Handle some common uses of reflection.
     3.4.3
     Special case ConnectionFactory.CreateConnection
     BUGFIX: Handle chained calls
     BUGFIX: Cast and dispose correctly.
     3.4.2
     Handle some regressions in Roslyn 3.7
     3.4.1
     Publish with binaries.
     3.4.0
     FEATURE: Handle DisposableMixins.DisposeWith
     BUGFIX: IDISP025 when abstract dispose method.
     BUGFIX: IDISP006 when explicit implementation.
     3.3.9
     BUGFIX: Special case IHostedService more
     3.3.8
     BUGFIX: Handle nullable
     3.3.7
     BUGFIX: Handle conditional access (regression)
     3.3.6
     Handle ValueTask
     Handle HostingAbstractionsHostExtensions
     BUGFIX: IDISP010 when public override void Dispose()
     3.3.5
     Handle IHostedService
     3.3.4
     BUGFIX: IDISP004 when yield return.
     BUGFIX: IDISP004 handle System.Net.Mail.Attachment
     BUGFIX: IDISP003 handle null forgiving operator.
     3.3.3
     BUGFIX: Infinite recursion killing VS.
     3.3.2
     BUGFIX: IDISP023 don't warn on attribute.
     3.3.1
     BUGFIX: IDISP017: when DisposeAsync()
     BUGFIX: IDISP004 when pooled
     3.3.0
     FEAUTURE: Initial support for AsyncDisposable
     3.2.0
     BUGFIX: Handle extension methods in binary references better.

Dependencies

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on IDisposableAnalyzers:

Package Downloads
Messerli.CodeStyle
Various analyzers bundled with opinionated configuration

GitHub repositories (9)

Showing the top 5 popular GitHub repositories that depend on IDisposableAnalyzers:

Repository Stars
discord-net/Discord.Net
An unofficial .Net wrapper for the Discord API (http://discordapp.com)
dotnet/format
Home for the dotnet-format command
Baseflow/XF-Material-Library
A Xamarin Forms library for implementing Material Design
Genbox/VelcroPhysics
High performance 2D collision detection system with realistic physics responses.
LordMike/TMDbLib
C#.Net library for TheMovieDB

Version History

Version Downloads Last updated
3.4.15 5,147 8/17/2021
3.4.14 473 8/16/2021
3.4.13 59,548 2/28/2021
3.4.12 295 2/26/2021
3.4.11 1,297 2/23/2021
3.4.10 10,589 2/14/2021
3.4.9 214 2/13/2021
3.4.8 31,646 12/31/2020
3.4.7 775 12/27/2020
3.4.6 11,103 12/2/2020
3.4.5 10,362 11/16/2020
3.4.3 10,844 10/27/2020
3.4.2 39,340 9/20/2020
3.4.1 94,856 5/23/2020
3.3.9 1,917 5/15/2020
3.3.8 5,904 5/6/2020
3.3.7 20,566 4/19/2020
3.3.6 271 4/18/2020
3.3.5 1,916 4/13/2020
3.3.4 1,814 4/10/2020
3.3.3 342 4/10/2020
3.3.2 4,985 3/11/2020
3.3.1 85,243 2/28/2020
3.3.0 3,750 2/5/2020
3.2.0 19,056 12/5/2019
3.1.0 17,251 11/26/2019
3.0.1 717 11/20/2019
3.0.0 653 11/17/2019
2.1.3 11,387 11/17/2019
2.1.2 71,135 1/29/2019
2.1.1 584 1/27/2019
2.1.0 433 1/26/2019
2.0.7 1,032 1/13/2019
2.0.6 8,851 11/5/2018
2.0.5 743 10/23/2018
2.0.4 1,949 10/15/2018
2.0.3.3 5,058 8/20/2018
2.0.3.1 656 8/13/2018
2.0.3 720 8/10/2018
2.0.2.2 2,081 5/24/2018
2.0.2.1 753 5/12/2018
2.0.2 992 5/9/2018
2.0.1 1,572 4/12/2018
2.0.0.2 665 4/11/2018
2.0.0.1 750 4/11/2018
2.0.0 622 4/11/2018
1.0.0 1,804 4/5/2018
0.1.4.5-dev 1,313 2/27/2018
0.1.4.4-dev 1,049 2/22/2018
0.1.4.3-dev 687 1/22/2018
0.1.4.2-dev 1,257 12/23/2017
0.1.4.1-dev 754 12/22/2017
0.1.3.1-dev 3,193 11/20/2017
0.1.3-dev 588 11/19/2017
0.1.2-dev 1,056 11/1/2017
0.1.1-dev 602 10/30/2017
0.1.0.2-dev 1,672 9/17/2017