This namespace allows you to suggest code fixes and code refactorings, i.e. changes to source code that appear in the lightbulb or screwdriver menu of your IDE.
Code fixes can be instantiated using the static methods of the CodeFixFactory class.
To add code fixes to a diagnostic, use the IDiagnostic.WithCodeFixes method.
To suggest a code refactoring without reporting a diagnostic, use the Suggesttext=IDiagnosticSink.Suggest> method.
Represents a modification of the current solution, including the Title of transformation. To instantiate a single-step code fix, use CodeFixFactory. To instantiate a more complex code fix, use the constructor.
Creates instances of the CodeFix class.
Argument of the delegate passed to CodeFix constructor. Exposes methods that allow to modify the current solution.
Gets the context in which a code action executes. Exposed by ICodeActionBuilder.
If you implement your own code action using the Metalama SDK, you should cast this interface to