IDisposableAnalyzers 4.0.8

Analyzers and fixes for IDisposable.

No packages depend on IDisposableAnalyzers.

4.0.8 BUGFIX: Handle moq setup 4.0.7 BUGFIX: Handle target typed new 4.0.6 BUGFIX: Handle ref struct BUGFIX: Handle target typed new 4.0.5 BUGFIX: Handle ValueTask BUGFIX: awaited in expression 4.0.3 BUGFIX: Handle recursive builder 4.0.2 BUGFIX: IDISP007 when disposing static member in static context 4.0.1 BUGFIX: IDISP007 false warning when using Rx BUGFIX: IDISP016 false warning when foreach BUGFIX: Handle leaveOpen when AsyncDisposable BUGIX: Handle top level statements. 4.0.0 BREAKING: For VS2022+ now. BUGFIX: AD0001 -> Could not load file or assembly 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.

This package has no dependencies.

Version Downloads Last updated
4.0.8 2 2025-11-22
4.0.7 0 2023-09-11
4.0.6 0 2023-04-12
4.0.5 0 2023-04-08
4.0.4 0 2023-04-02
4.0.3 0 2023-04-01
4.0.2 0 2022-03-06
4.0.1 0 2021-12-16
4.0.0 0 2021-11-21
3.4.15 0 2021-08-17
3.4.14 0 2021-08-16
3.4.13 0 2021-02-28
3.4.12 0 2021-02-26
3.4.11 0 2021-02-23
3.4.10 0 2021-02-14
3.4.9 0 2021-02-13
3.4.8 0 2020-12-31
3.4.7 0 2020-12-27
3.4.6 0 2020-12-02
3.4.5 0 2020-11-16
3.4.3 0 2020-10-27
3.4.2 0 2020-09-20
3.4.1 0 2020-05-23
3.3.9 0 2020-05-15
3.3.8 0 2020-05-06
3.3.7 0 2020-04-19
3.3.6 0 2020-04-18
3.3.5 0 2020-04-13
3.3.4 0 2020-04-10
3.3.3 0 2020-04-10
3.3.2 0 2020-03-11
3.3.1 0 2020-02-28
3.3.0 0 2020-02-05
3.2.0 0 2019-12-05
3.1.0 0 2019-11-26
3.0.1 0 2019-11-20
3.0.0 0 2019-11-17
2.1.3 0 2019-11-17
2.1.2 0 2019-01-29
2.1.1 0 2019-01-27
2.1.0 0 2019-01-26
2.0.7 0 2019-01-13
2.0.6 0 2018-11-05
2.0.5 0 2018-10-23
2.0.4 0 2018-10-15
2.0.3.3 0 2018-08-20
2.0.3.1 0 2018-08-13
2.0.3 0 2018-08-10
2.0.2.2 0 2018-05-24
2.0.2.1 0 2018-05-12
2.0.2 0 2018-05-09
2.0.1 0 2018-04-12
2.0.0.2 0 2018-04-11
2.0.0.1 0 2018-04-11
2.0.0 0 2018-04-11
1.0.0 0 2018-04-05
0.1.4.5-dev 0 2018-02-27
0.1.4.4-dev 0 2018-02-22
0.1.4.3-dev 0 2018-01-22
0.1.4.2-dev 0 2017-12-23
0.1.4.1-dev 0 2017-12-22
0.1.3.1-dev 0 2017-11-20
0.1.3-dev 0 2017-11-19
0.1.2-dev 0 2017-11-01
0.1.1-dev 0 2017-10-30
0.1.0.2-dev 0 2017-09-17