IDisposableGenerator 1.1.0
See the version list below for details.
dotnet add package IDisposableGenerator --version 1.1.0
NuGet\Install-Package IDisposableGenerator -Version 1.1.0
<PackageReference Include="IDisposableGenerator" Version="1.1.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add IDisposableGenerator --version 1.1.0
#r "nuget: IDisposableGenerator, 1.1.0"
// Install IDisposableGenerator as a Cake Addin #addin nuget:?package=IDisposableGenerator&version=1.1.0 // Install IDisposableGenerator as a Cake Tool #tool nuget:?package=IDisposableGenerator&version=1.1.0
Source Generator Generating the Dispose functions in Disposables.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Changes in this release:
- Source generate the attributes (Post Init step).
- Ensure all generated code use file-scoped namespaces and global usings when used in a project with C# 10 or newer enabled.
- Remove roslyn package dependencies from package as those should be resolved from the compiler's copies.
- Moved the generator assembly files from analyzers\cs to analyzers\dotnet\cs.
- Allow multiple WorkItems in the generator.
- Renamed SetNullOnDisposeAttribute to NullOnDisposeAttribute.
- Added Visual Basic source generator.
- Migrated to an Incremental Source Generator (Source Generator V2 APIs).