Open sandboxFocus

Method WithCodeFixes

WithCodeFixes(params CodeFix[])

Adds a set of code fixes to the current instance, and returns the current augmented instance. To create a one-step code fix, use the CodeFixFactory class.

Declaration
public IDiagnostic WithCodeFixes(params CodeFix[] codeFixes)
Parameters
Type Name Description
CodeFix[] codeFixes
Returns
Type Description
IDiagnostic
Implements