Provides helper members for working with code fixes in diagnostics.
Namespace: Metalama.Framework.Diagnostics
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class CodeFixHelperRemarks
This class provides constants and a predefined diagnostic definition for adding code fixes to aspects. Code fixes allow aspects to suggest automated corrections to code issues they detect.
Fields
| Name | Description |
|---|---|
| DiagnosticPropertyName | The name of the diagnostic property that contains code fix titles. |
| DiagnosticPropertyValueSeparator | The character used to separate multiple code fix titles in the diagnostic property. |
| SuggestionDiagnostic | A predefined DiagnosticDefinition that can be used to add code fixes without reporting a visible diagnostic. |