Constructor CodeFix
CodeFix(Project, CodeAction, IEnumerable<Diagnostic>)
Initializes a new instance of the CodeFix class with specified parameters.
public CodeFix(Project project, CodeAction action, IEnumerable<Diagnostic> diagnostics)
Parameters
projectProjectThe project this
CodeFixbelongs to.actionCodeActionAn action used to fix code problem.
diagnosticsIEnumerable<Diagnostic>A subset of diagnostics to be fixed.