Metalama.Extensions.CodeFixes
2026.1.32
Prefix Reserved
See the version list below for details.
dotnet add package Metalama.Extensions.CodeFixes --version 2026.1.32
NuGet\Install-Package Metalama.Extensions.CodeFixes -Version 2026.1.32
<PackageReference Include="Metalama.Extensions.CodeFixes" Version="2026.1.32" />
<PackageVersion Include="Metalama.Extensions.CodeFixes" Version="2026.1.32" />
<PackageReference Include="Metalama.Extensions.CodeFixes" />
paket add Metalama.Extensions.CodeFixes --version 2026.1.32
#r "nuget: Metalama.Extensions.CodeFixes, 2026.1.32"
#:package Metalama.Extensions.CodeFixes@2026.1.32
#addin nuget:?package=Metalama.Extensions.CodeFixes&version=2026.1.32
#tool nuget:?package=Metalama.Extensions.CodeFixes&version=2026.1.32
About
The Metalama.Extensions.CodeFixes extends Metalama.Framework with APIs that allow to suggest code fixes when reporting errors or warnings, or to suggest refactorings even without a warning.
Features
- Attach code fix suggestions to reported diagnostics.
- Suggest a code refactoring without reporting a diagnostic.
- Apply any
Metalama.Frameworkaspect as a code fix or refactoring (aka live template). - Simple code fixes: add/remove attribute, change accessibility.
License
This package is a commercial extension of the open-source Metalama.Framework and requires a Metalama Professional license.
Principal Types
- CodeFixExtensions provides the following extension methods:
WithCodeFixesextendsIDiagnosticand attaches aCodeFixto a reported diagnostic.SuggestextendsIDiagnosticSinkandIScopedDiagnosticSinkand allows to suggest a refactoring without reporting a diagnostic.
- CodeFixFactory allows to create simple code fixes, such as
AddAttribute,RemoveAttributesorChangeAccessibility.
Documentation
API Documentation: Metalama.Extensions.CodeFixes
Conceptual Documentation: Building IDE interactions
Related Packages
- Metalama.Extensions.CodeFixes.Redist: the redistributable package that does not cause referencing projects to use Metalama.
AI Coding Assistants
If you use an AI coding assistant such as Claude Code, install the Metalama AI Skills plugin. It gives the assistant access to the Metalama conceptual documentation, the API reference, and code samples.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Metalama.Extensions.CodeFixes.Redist (>= 2026.1.32)
- Metalama.Framework (>= 2026.1.32)
- Metalama.Licensing (>= 2026.1.32)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2027.0.6-preview | 66 | 11/11/2026 |
| 2027.0.5-preview | 102 | 10/30/2026 |
| 2027.0.4-preview | 96 | 10/13/2026 |
| 2027.0.3-preview | 100 | 9/16/2026 |
| 2027.0.2-preview | 105 | 9/10/2026 |
| 2027.0.1-preview | 110 | 9/7/2026 |
| 2026.1.32 | 78 | 11/10/2026 |
| 2026.1.31 | 110 | 10/29/2026 |
| 2026.1.30 | 118 | 10/13/2026 |
| 2026.1.29 | 121 | 10/2/2026 |
| 2026.1.28 | 122 | 9/16/2026 |
| 2026.1.27 | 133 | 9/10/2026 |
| 2026.1.26 | 133 | 9/5/2026 |
| 2026.1.25 | 146 | 8/21/2026 |
| 2026.1.24 | 137 | 8/13/2026 |
| 2026.1.23 | 129 | 8/10/2026 |
| 2026.1.22 | 144 | 8/5/2026 |
| 2026.1.21 | 153 | 7/21/2026 |
| 2026.1.20 | 139 | 7/15/2026 |
| 2026.0.25 | 130 | 6/30/2026 |