Suggest(CodeFix)
Suggest a code fix without reporting a diagnostic.
Declaration
public void Suggest(CodeFix codeFix)
Parameters
Type | Name | Description |
---|---|---|
CodeFix | codeFix | The CodeFix. |
Suggest(CodeFix, IDiagnosticLocation)
Suggest a code fix without reporting a diagnostic.
Declaration
public void Suggest(CodeFix codeFix, IDiagnosticLocation location)
Parameters
Type | Name | Description |
---|---|---|
CodeFix | codeFix | The CodeFix. |
IDiagnosticLocation | location | The code location for which the code fix should be suggested, typically an IDeclaration. |